That&#39;s the reason, the missing params.<br>The client has a bug in it.<br><br><br><div class="gmail_quote">On Wed, Feb 4, 2009 at 10:17 AM, Ali Al-Rubaie <span dir="ltr">&lt;<a href="mailto:kerrada2003@yahoo.com">kerrada2003@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hi,<br><br>I have a problem in SIP registration (authentication) with FreeSWITCH server. The SIP messages are:<br><br>

<p>recv 292 bytes from udp/[209.82.10.250]:3458 at
16:35:24.758862:</p>

<p><span>&nbsp;&nbsp;
</span>------------------------------------------------------------------------</p>

<p><span>&nbsp;&nbsp; </span>REGISTER
sip:209.82.10.235 SIP/2.0</p>

<p><span>&nbsp;&nbsp; </span>Via: SIP/2.0/UDP
<a href="http://209.82.10.250:1059" target="_blank">209.82.10.250:1059</a></p>

<p><span>&nbsp;&nbsp; </span>From:
<a href="mailto:sip%3A1001@209.82.10.235" target="_blank">sip:1001@209.82.10.235</a></p>

<p><span>&nbsp;&nbsp; </span>To:
<a href="mailto:sip%3A1001@209.82.10.235" target="_blank">sip:1001@209.82.10.235</a></p>

<p><span>&nbsp;&nbsp; </span>Contact:
<a href="http://sip:1001@209.82.10.250:1059" target="_blank">sip:1001@209.82.10.250:1059</a></p>

<p><span>&nbsp;&nbsp; </span>Call-ID:
<a href="mailto:fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23" target="_blank">fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23</a></p>

<p><span>&nbsp;&nbsp; </span>CSeq: 597775306
REGISTER</p>

<p><span>&nbsp;&nbsp; </span>Content-Length: 0</p>

<p><span>&nbsp;&nbsp; </span>Expires: 3600</p>

<p>&nbsp;</p>

<p><span>&nbsp;&nbsp;
</span>------------------------------------------------------------------------</p>

<p>send 582 bytes to udp/[209.82.10.250]:1059 at
16:35:24.763948:</p>

<p><span>&nbsp;&nbsp;
</span>------------------------------------------------------------------------</p>

<p><span>&nbsp;&nbsp; </span>SIP/2.0 401
Unauthorized</p>

<p><span>&nbsp;&nbsp; </span>Via: SIP/2.0/UDP
<a href="http://209.82.10.250:1059" target="_blank">209.82.10.250:1059</a></p>

<p><span>&nbsp;&nbsp; </span>From:
<a href="mailto:sip%3A1001@209.82.10.235" target="_blank">sip:1001@209.82.10.235</a></p>

<p><span>&nbsp;&nbsp; </span>To:
&lt;<a href="mailto:sip%3A1001@209.82.10.235" target="_blank">sip:1001@209.82.10.235</a>&gt;;tag=7yam2F01ZH3vH</p>

<p><span>&nbsp;&nbsp; </span>Call-ID:
<a href="mailto:fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23" target="_blank">fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23</a></p>

<p><span>&nbsp;&nbsp; </span>CSeq: 597775306
REGISTER</p>

<p><span>&nbsp;&nbsp; </span>User-Agent:
FreeSWITCH-mod_sofia/1.0.2-hacked</p>

<p><span>&nbsp;&nbsp; </span>Allow: INVITE, ACK,
BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE,
REGISTER, INFO, PUBLISH</p>

<p><span>&nbsp;&nbsp; </span>Supported: timer,
precondition, path, replaces</p>

<p><span>&nbsp;&nbsp; </span>WWW-Authenticate:
Digest realm=&quot;209.82.10.235&quot;,
nonce=&quot;40b63193-85c2-4ed9-874e-c03f81be313d&quot;, algorithm=MD5,
qop=&quot;auth&quot;</p>

<p><span>&nbsp;&nbsp; </span>Content-Length: 0</p>

<p>&nbsp;</p>

<p><span>&nbsp;&nbsp; </span>------------------------------------------------------------------------</p>

<p>recv 466 bytes from udp/[209.82.10.250]:3458 at
16:35:24.772834:</p>

<p><span>&nbsp;&nbsp;
</span>------------------------------------------------------------------------</p>

<p><span>&nbsp;&nbsp; </span>REGISTER
sip:209.82.10.235 SIP/2.0</p>

<p><span>&nbsp;&nbsp; </span>Via: SIP/2.0/UDP
<a href="http://209.82.10.250:1059" target="_blank">209.82.10.250:1059</a></p>

<p><span>&nbsp;&nbsp; </span>From:
<a href="mailto:sip%3A1001@209.82.10.235" target="_blank">sip:1001@209.82.10.235</a></p>

<p><span>&nbsp;&nbsp; </span>To:
<a href="mailto:sip%3A1001@209.82.10.235" target="_blank">sip:1001@209.82.10.235</a></p>

<p><span>&nbsp;&nbsp; </span>Contact:
<a href="http://sip:1001@209.82.10.250:1059" target="_blank">sip:1001@209.82.10.250:1059</a></p>

<p><span>&nbsp;&nbsp; </span>Call-ID:
<a href="mailto:fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23" target="_blank">fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23</a></p>

<p><span>&nbsp;&nbsp; </span>CSeq: 597775307
REGISTER</p>

<p><span>&nbsp;&nbsp; </span>Content-Length: 0</p>

<p><span>&nbsp;&nbsp; </span>Expires: 3600</p>

<p><span>&nbsp;&nbsp; </span>Authorization:
Digest
username=&quot;1001&quot;,realm=&quot;209.82.10.235&quot;,nonce=&quot;40b63193-85c2-4ed9-874e-c03f81be313d&quot;,response=&quot;eebe0ea43319e82cc5f6dba5877de706&quot;,uri=&quot;sip:209.82.10.235&quot;</p>

<p>&nbsp;</p>

<p><span>&nbsp;&nbsp;
</span>------------------------------------------------------------------------</p>

<p>send 458 bytes to udp/[209.82.10.250]:1059 at
16:35:24.774354:</p>

<p><span>&nbsp;&nbsp;
</span>------------------------------------------------------------------------</p>

<p><span>&nbsp;&nbsp; </span>SIP/2.0 403
Forbidden</p>

<p><span>&nbsp;&nbsp; </span>Via: SIP/2.0/UDP
<a href="http://209.82.10.250:1059" target="_blank">209.82.10.250:1059</a></p>

<p><span>&nbsp;&nbsp; </span>From:
<a href="mailto:sip%3A1001@209.82.10.235" target="_blank">sip:1001@209.82.10.235</a></p>

<p><span>&nbsp;&nbsp; </span>To:
&lt;<a href="mailto:sip%3A1001@209.82.10.235" target="_blank">sip:1001@209.82.10.235</a>&gt;;tag=873c4aH5vtSFD</p>

<p><span>&nbsp;&nbsp; </span>Call-ID:
<a href="mailto:fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23" target="_blank">fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23</a></p>

<p><span>&nbsp;&nbsp; </span>CSeq: 597775307
REGISTER</p>

<p><span>&nbsp;&nbsp; </span>User-Agent:
FreeSWITCH-mod_sofia/1.0.2-hacked</p>

<p><span>&nbsp;&nbsp; </span>Allow: INVITE, ACK,
BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE,
REGISTER, INFO, PUBLISH</p>

<p><span>&nbsp;&nbsp; </span>Supported: timer,
precondition, path, replaces</p>

<p><span>&nbsp;&nbsp; </span>Content-Length: 0</p>

<p>&nbsp;</p>

<p><span>&nbsp;&nbsp;
</span>------------------------------------------------------------------------</p>

What I have noted is that the client does not send the values for &quot;cnonce&quot; and &quot;nc&quot; in the response. I&#39;m not sure if this is the reason, however how this problem can be solved?<br><br>Thanks,<br><br>
Ali<br><br></td></tr></tbody></table><br>

      <br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>