That happens with both gateways though, one works and the other doesn&#39;t. Would the rport have anything to do with the registration failing?<br><br>The big difference to me is that the working gateway replies a 401 Unauthorized containing:<br>
<br> WWW-Authenticate: Digest realm=&quot;<a href="http://pxextmy.redvoiss.net">pxextmy.redvoiss.net</a>&quot;, nonce=&quot;4acac8fe248a9075a13773274684392a65a40240&quot;, qop=&quot;auth&quot;.<br><br>Whereas the non-working gateway&#39;s 401 has:<br>
<br>WWW-Authenticate: Digest realm=&quot;<span class="nu0">216.72</span><span class="nu0">.10</span><span class="nu0">.39</span>&quot;, nonce=&quot;4acac08249c439decb2bea539282faf755c80b0c&quot;.<br><br><br>What does the qop parameter stand for? Apparently because of that parameter, FS sends a new REGISTER including this:<br>
<br>Authorization: Digest username=&quot;xxxxxxxxx&quot;,
realm=&quot;<a href="http://pxextmy.redvoiss.net">pxextmy.redvoiss.net</a>&quot;,
nonce=&quot;4acac8fe248a9075a13773274684392a65a40240&quot;,
cnonce=&quot;h1DCSizTEi2eMQAdCe9KJA&quot;, algorithm=MD5,
uri=&quot;sip:<a href="http://pxextmy.redvoiss.net">pxextmy.redvoiss.net</a>&quot;,
response=&quot;05adb2a7f9d7772e57dc846257484f5d&quot;, qop=auth, nc=<span class="nu0">00000001</span>.<br><br>Instead, on the non-working gateway case, FS sends a REGISTER with this:<br><br>Authorization: Digest username=&quot;yyyyyyyyy&quot;, realm=&quot;<span class="nu0">216.72</span><span class="nu0">.10</span><span class="nu0">.39</span>&quot;, nonce=&quot;4acac08249c439decb2bea539282faf755c80b0c&quot;, algorithm=MD5, uri=&quot;sip:<span class="nu0">216.72</span><span class="nu0">.10</span><span class="nu0">.39</span>&quot;, response=&quot;8311db7666779df89d5223e16a611826&quot;.<br>
<br><br>Notice the absence of the qop and nc parameters. I&#39;m guessing the lack of those parameters causes the gateway (SIP server) to use another nonce and hence reject the mismatching REGISTER.<br><br>BTW, registration from an X-Lite softphone works.<br>
<br><br>Thanks!<br><br>Nicolas<br><br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 10:31 AM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</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;">
<div style="">This looks like you have an ALG messing with packets... notice it says rport 5080 but we are sending to 5060.<div><br></div><font color="#888888"><div>/b</div></font><div class="im"><div><br><div><div>On Oct 5, 2009, at 11:42 PM, Nicolas Brenner wrote:</div>
<br><blockquote type="cite">Ignore my previous email, the traces were incomplete, got much better (and complete) traces with ngrep (found a suggestion from Brian in the list archive, thanks!)<br>
<br>The gateway that registers:<br><br>- <a href="http://pastebin.freeswitch.org/10607" target="_blank">http://pastebin.freeswitch.org/10607</a><br><br>The one that doesn&#39;t:<br><br>- <a href="http://pastebin.freeswitch.org/10608" target="_blank">http://pastebin.freeswitch.org/10608</a><br>

<br><br>Thanks again for your time and help!<br><br><br>Nicolas<br><br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 12:19 AM, Nicolas Brenner <span dir="ltr">&lt;<a href="mailto:nicolas@medularis.com" target="_blank">nicolas@medularis.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;">There was no sane way of doing that, so I ended up logging the trace from the cli.<br></blockquote>
</div></blockquote></div><br></div></div></div><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>