[Freeswitch-users] SIP Authentication

Anthony Minessale anthony.minessale at gmail.com
Wed Feb 4 08:52:57 PST 2009


That's the reason, the missing params.
The client has a bug in it.


On Wed, Feb 4, 2009 at 10:17 AM, Ali Al-Rubaie <kerrada2003 at yahoo.com>wrote:

> Hi,
>
> I have a problem in SIP registration (authentication) with FreeSWITCH
> server. The SIP messages are:
>
> recv 292 bytes from udp/[209.82.10.250]:3458 at 16:35:24.758862:
>
>
> ------------------------------------------------------------------------
>
>    REGISTER sip:209.82.10.235 SIP/2.0
>
>    Via: SIP/2.0/UDP 209.82.10.250:1059
>
>    From: sip:1001 at 209.82.10.235 <sip%3A1001 at 209.82.10.235>
>
>    To: sip:1001 at 209.82.10.235 <sip%3A1001 at 209.82.10.235>
>
>    Contact: sip:1001 at 209.82.10.250:1059
>
>    Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8 at 192.168.10.23
>
>    CSeq: 597775306 REGISTER
>
>    Content-Length: 0
>
>    Expires: 3600
>
>
>
>
> ------------------------------------------------------------------------
>
> send 582 bytes to udp/[209.82.10.250]:1059 at 16:35:24.763948:
>
>
> ------------------------------------------------------------------------
>
>    SIP/2.0 401 Unauthorized
>
>    Via: SIP/2.0/UDP 209.82.10.250:1059
>
>    From: sip:1001 at 209.82.10.235 <sip%3A1001 at 209.82.10.235>
>
>    To: <sip:1001 at 209.82.10.235 <sip%3A1001 at 209.82.10.235>
> >;tag=7yam2F01ZH3vH
>
>    Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8 at 192.168.10.23
>
>    CSeq: 597775306 REGISTER
>
>    User-Agent: FreeSWITCH-mod_sofia/1.0.2-hacked
>
>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
>
>    Supported: timer, precondition, path, replaces
>
>    WWW-Authenticate: Digest realm="209.82.10.235",
> nonce="40b63193-85c2-4ed9-874e-c03f81be313d", algorithm=MD5, qop="auth"
>
>    Content-Length: 0
>
>
>
>
> ------------------------------------------------------------------------
>
> recv 466 bytes from udp/[209.82.10.250]:3458 at 16:35:24.772834:
>
>
> ------------------------------------------------------------------------
>
>    REGISTER sip:209.82.10.235 SIP/2.0
>
>    Via: SIP/2.0/UDP 209.82.10.250:1059
>
>    From: sip:1001 at 209.82.10.235 <sip%3A1001 at 209.82.10.235>
>
>    To: sip:1001 at 209.82.10.235 <sip%3A1001 at 209.82.10.235>
>
>    Contact: sip:1001 at 209.82.10.250:1059
>
>    Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8 at 192.168.10.23
>
>    CSeq: 597775307 REGISTER
>
>    Content-Length: 0
>
>    Expires: 3600
>
>    Authorization: Digest
> username="1001",realm="209.82.10.235",nonce="40b63193-85c2-4ed9-874e-c03f81be313d",response="eebe0ea43319e82cc5f6dba5877de706",uri="sip:209.82.10.235"
>
>
>
>
> ------------------------------------------------------------------------
>
> send 458 bytes to udp/[209.82.10.250]:1059 at 16:35:24.774354:
>
>
> ------------------------------------------------------------------------
>
>    SIP/2.0 403 Forbidden
>
>    Via: SIP/2.0/UDP 209.82.10.250:1059
>
>    From: sip:1001 at 209.82.10.235 <sip%3A1001 at 209.82.10.235>
>
>    To: <sip:1001 at 209.82.10.235 <sip%3A1001 at 209.82.10.235>
> >;tag=873c4aH5vtSFD
>
>    Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8 at 192.168.10.23
>
>    CSeq: 597775307 REGISTER
>
>    User-Agent: FreeSWITCH-mod_sofia/1.0.2-hacked
>
>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
>
>    Supported: timer, precondition, path, replaces
>
>    Content-Length: 0
>
>
>
>
> ------------------------------------------------------------------------
> What I have noted is that the client does not send the values for "cnonce"
> and "nc" in the response. I'm not sure if this is the reason, however how
> this problem can be solved?
>
> Thanks,
>
> Ali
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090204/8a749fcb/attachment-0002.html 


More information about the FreeSWITCH-users mailing list