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@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@209.82.10.235

   To: sip:1001@209.82.10.235

   Contact: sip:1001@209.82.10.250:1059

   Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8@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@209.82.10.235

   To: <sip:1001@209.82.10.235>;tag=7yam2F01ZH3vH

   Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8@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@209.82.10.235

   To: sip:1001@209.82.10.235

   Contact: sip:1001@209.82.10.250:1059

   Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8@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@209.82.10.235

   To: <sip:1001@209.82.10.235>;tag=873c4aH5vtSFD

   Call-ID: fc383368-e3e0-4c32-b87b-c3127d0cc2d8@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@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400