That happens with both gateways though, one works and the other doesn'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="<a href="http://pxextmy.redvoiss.net">pxextmy.redvoiss.net</a>", nonce="4acac8fe248a9075a13773274684392a65a40240", qop="auth".<br><br>Whereas the non-working gateway's 401 has:<br>
<br>WWW-Authenticate: Digest realm="<span class="nu0">216.72</span><span class="nu0">.10</span><span class="nu0">.39</span>", nonce="4acac08249c439decb2bea539282faf755c80b0c".<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="xxxxxxxxx",
realm="<a href="http://pxextmy.redvoiss.net">pxextmy.redvoiss.net</a>",
nonce="4acac8fe248a9075a13773274684392a65a40240",
cnonce="h1DCSizTEi2eMQAdCe9KJA", algorithm=MD5,
uri="sip:<a href="http://pxextmy.redvoiss.net">pxextmy.redvoiss.net</a>",
response="05adb2a7f9d7772e57dc846257484f5d", 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="yyyyyyyyy", realm="<span class="nu0">216.72</span><span class="nu0">.10</span><span class="nu0">.39</span>", nonce="4acac08249c439decb2bea539282faf755c80b0c", algorithm=MD5, uri="sip:<span class="nu0">216.72</span><span class="nu0">.10</span><span class="nu0">.39</span>", response="8311db7666779df89d5223e16a611826".<br>
<br><br>Notice the absence of the qop and nc parameters. I'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"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></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'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"><<a href="mailto:nicolas@medularis.com" target="_blank">nicolas@medularis.com</a>></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>