Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Authentication Issues
Author Message
aalexa3
Brekeke Newbie


Joined: 19 Jan 2009
Posts: 3

PostPosted: Mon Jan 19, 2009 8:35 pm    Post subject: Authentication Issues Reply with quote

1. Brekeke Product Name and version: SIP Server 2.1.6.6

2. Java version:???

3. OS type and the version: Windows XP sp2

4. UA (phone), gateway or other hardware/software involved: SIPp

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : all host are on a single LAN no routers separate the devices. (i.e single broadcast domain)

6. Your problem: Authentication for registration request fail (or more specifically) are never approved, the challenge response to the 401 message generated by the SIPp application is never verified by the SIP server and a constant REG/401/REG with Auth/401 loop happens. I am using an academic copy of the software some I am not sure if that has something to do with it...(i.e. can't do authentication with academic versions)..

Any insight will be appreciated...
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Tue Jan 20, 2009 12:01 pm    Post subject: Reply with quote

Did you set the correct account (username/password) at SIPp?
Did you create the same user at the SIP Server?
Back to top
View user's profile
aalexa3
Brekeke Newbie


Joined: 19 Jan 2009
Posts: 3

PostPosted: Tue Jan 20, 2009 7:51 pm    Post subject: Reply with quote

Yes, the usernames and passwords used in SIPp and Brekeke are identical.

The usernames are in the format 91ddddd, and the passwords are in the format 21ddddd...where "d" can represent any digit.

So, the SIPp csv files look like this:
9100000;[authentication username=9100000 password=2100000]

do you think I need to add the domain of the Brekeke SIP Server at the end of the username so that it looks like this (9100000@172.16.1.1)
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Wed Jan 21, 2009 11:28 am    Post subject: Reply with quote

Hi aalexa3,

>> do you think I need to add the domain of the Brekeke SIP Server at the end of the username so that it looks like this (9100000@172.16.1.1)

I don't think so..

Do you have any softphone?
Let you try a softphone (X-lite) instead of SIPp at first.
Back to top
View user's profile
aalexa3
Brekeke Newbie


Joined: 19 Jan 2009
Posts: 3

PostPosted: Sat Jan 24, 2009 8:05 am    Post subject: Issue ReSolved Reply with quote

James,

Thanks for your assistance...I jacked up the SIPp (scenario) file for authentication...I had the CallSeq messed up..I was starting at "4 REGISTER" when I should have been starting at "1 REGISTER"...figured it out because you suggested I use another client.

Thanks for you help...keep up the good work!!!
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Mon Jan 26, 2009 11:29 am    Post subject: Reply with quote

Hi aalexa3,

A starting number of CSeq doesn't matter.
But it should be incremented for each new REGISTER request.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1