<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>I have a problem in SIP registration (authentication) with FreeSWITCH server. The SIP messages are:<br><br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CAALRUB%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<p class="MsoNormal">recv 292 bytes from udp/[209.82.10.250]:3458 at
16:35:24.758862:</p>
<p class="MsoNormal"><span style="">
</span>------------------------------------------------------------------------</p>
<p class="MsoNormal"><span style=""> </span>REGISTER
sip:209.82.10.235 SIP/2.0</p>
<p class="MsoNormal"><span style=""> </span>Via: SIP/2.0/UDP
209.82.10.250:1059</p>
<p class="MsoNormal"><span style=""> </span>From:
sip:1001@209.82.10.235</p>
<p class="MsoNormal"><span style=""> </span>To:
sip:1001@209.82.10.235</p>
<p class="MsoNormal"><span style=""> </span>Contact:
sip:1001@209.82.10.250:1059</p>
<p class="MsoNormal"><span style=""> </span>Call-ID:
fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23</p>
<p class="MsoNormal"><span style=""> </span>CSeq: 597775306
REGISTER</p>
<p class="MsoNormal"><span style=""> </span>Content-Length: 0</p>
<p class="MsoNormal"><span style=""> </span>Expires: 3600</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="">
</span>------------------------------------------------------------------------</p>
<p class="MsoNormal">send 582 bytes to udp/[209.82.10.250]:1059 at
16:35:24.763948:</p>
<p class="MsoNormal"><span style="">
</span>------------------------------------------------------------------------</p>
<p class="MsoNormal"><span style=""> </span>SIP/2.0 401
Unauthorized</p>
<p class="MsoNormal"><span style=""> </span>Via: SIP/2.0/UDP
209.82.10.250:1059</p>
<p class="MsoNormal"><span style=""> </span>From:
sip:1001@209.82.10.235</p>
<p class="MsoNormal"><span style=""> </span>To:
<sip:1001@209.82.10.235>;tag=7yam2F01ZH3vH</p>
<p class="MsoNormal"><span style=""> </span>Call-ID:
fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23</p>
<p class="MsoNormal"><span style=""> </span>CSeq: 597775306
REGISTER</p>
<p class="MsoNormal"><span style=""> </span>User-Agent:
FreeSWITCH-mod_sofia/1.0.2-hacked</p>
<p class="MsoNormal"><span style=""> </span>Allow: INVITE, ACK,
BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE,
REGISTER, INFO, PUBLISH</p>
<p class="MsoNormal"><span style=""> </span>Supported: timer,
precondition, path, replaces</p>
<p class="MsoNormal"><span style=""> </span>WWW-Authenticate:
Digest realm="209.82.10.235",
nonce="40b63193-85c2-4ed9-874e-c03f81be313d", algorithm=MD5,
qop="auth"</p>
<p class="MsoNormal"><span style=""> </span>Content-Length: 0</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style=""> </span>------------------------------------------------------------------------</p>
<p class="MsoNormal">recv 466 bytes from udp/[209.82.10.250]:3458 at
16:35:24.772834:</p>
<p class="MsoNormal"><span style="">
</span>------------------------------------------------------------------------</p>
<p class="MsoNormal"><span style=""> </span>REGISTER
sip:209.82.10.235 SIP/2.0</p>
<p class="MsoNormal"><span style=""> </span>Via: SIP/2.0/UDP
209.82.10.250:1059</p>
<p class="MsoNormal"><span style=""> </span>From:
sip:1001@209.82.10.235</p>
<p class="MsoNormal"><span style=""> </span>To:
sip:1001@209.82.10.235</p>
<p class="MsoNormal"><span style=""> </span>Contact:
sip:1001@209.82.10.250:1059</p>
<p class="MsoNormal"><span style=""> </span>Call-ID:
fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23</p>
<p class="MsoNormal"><span style=""> </span>CSeq: 597775307
REGISTER</p>
<p class="MsoNormal"><span style=""> </span>Content-Length: 0</p>
<p class="MsoNormal"><span style=""> </span>Expires: 3600</p>
<p class="MsoNormal"><span style=""> </span>Authorization:
Digest
username="1001",realm="209.82.10.235",nonce="40b63193-85c2-4ed9-874e-c03f81be313d",response="eebe0ea43319e82cc5f6dba5877de706",uri="sip:209.82.10.235"</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="">
</span>------------------------------------------------------------------------</p>
<p class="MsoNormal">send 458 bytes to udp/[209.82.10.250]:1059 at
16:35:24.774354:</p>
<p class="MsoNormal"><span style="">
</span>------------------------------------------------------------------------</p>
<p class="MsoNormal"><span style=""> </span>SIP/2.0 403
Forbidden</p>
<p class="MsoNormal"><span style=""> </span>Via: SIP/2.0/UDP
209.82.10.250:1059</p>
<p class="MsoNormal"><span style=""> </span>From:
sip:1001@209.82.10.235</p>
<p class="MsoNormal"><span style=""> </span>To:
<sip:1001@209.82.10.235>;tag=873c4aH5vtSFD</p>
<p class="MsoNormal"><span style=""> </span>Call-ID:
fc383368-e3e0-4c32-b87b-c3127d0cc2d8@192.168.10.23</p>
<p class="MsoNormal"><span style=""> </span>CSeq: 597775307
REGISTER</p>
<p class="MsoNormal"><span style=""> </span>User-Agent:
FreeSWITCH-mod_sofia/1.0.2-hacked</p>
<p class="MsoNormal"><span style=""> </span>Allow: INVITE, ACK,
BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE,
REGISTER, INFO, PUBLISH</p>
<p class="MsoNormal"><span style=""> </span>Supported: timer,
precondition, path, replaces</p>
<p class="MsoNormal"><span style=""> </span>Content-Length: 0</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="">
</span>------------------------------------------------------------------------</p>
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?<br><br>Thanks,<br><br>Ali<br><br></td></tr></table><br>