I could register using credentials shared by Denis from an Amazon EC2 instance (which is on public IP) but not from my local home machine which has a dynamic IP (behind the broadband provider&#39;s NAT). <br><br>The scenario where it worked went like this:<br>
<br>FS -&gt; IPTEL SIP Request: REGISTER sip:<a href="http://sip.iptel.org">sip.iptel.org</a>;transport=udp<br>IPTEL -&gt; FS  SIP Status: 401 Unauthorized    (0 bindings)<br>FS -&gt; IPTEL SIP Request: REGISTER sip:<a href="http://sip.iptel.org">sip.iptel.org</a>;transport=udp<br>
IPTEL -&gt; FS SIP Status: 200 OK    (1 bindings)<br><br><br>Siptrace for scenario where it is not working:<br><br>   ------------------------------------------------------------------------<br>   REGISTER sip:<a href="http://sip.iptel.org">sip.iptel.org</a>;transport=udp SIP/2.0<br>
   Via: SIP/2.0/UDP 122.176.168.104:5080;rport;branch=z9hG4bKjS09v88N9p59K<br>   Max-Forwards: 70<br>   From: &lt;<a href="mailto:sip%3Axxxxx@sip.iptel.org">sip:xxxxx@sip.iptel.org</a>;transport=udp&gt;;tag=mr5aK9Kae2NUc<br>
   To: &lt;<a href="mailto:sip%3Axxxxxx@sip.iptel.org">sip:xxxxxx@sip.iptel.org</a>;transport=udp&gt;<br>   Call-ID: 8a54537e-60c5-11e1-bad3-d7306514fb4e<br>   CSeq: 24810914 REGISTER<br>   Contact: &lt;sip:gw+iptel@122.176.168.104:5080;transport=udp;gw=iptel&gt;<br>
   Expires: 3600<br>   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-0c715f1 2012-02-24 15-41-16 -0800<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<br>   Supported: timer, precondition, path, replaces<br>
   Content-Length: 0<br>   <br>   ------------------------------------------------------------------------<br>nta: resent REGISTER (24810914) to udp/<a href="http://217.9.36.145:5060">217.9.36.145:5060</a><br>tport_pend(0x96a8c98): pending 0x983f808 for udp/<a href="http://192.168.1.2:5080">192.168.1.2:5080</a> (already 0)<br>
nta_outgoing_timer: 1/1 resent, 0/1 tout, 0/0 term, 0/1 free<br>nta: timer set next to 4000 ms<br>tport_wakeup_pri(0x96a8c98): events IN<br>tport_recv_event(0x96a8c98)<br>tport_recv_iovec(0x96a8c98) msg 0x970e400 from (udp/<a href="http://192.168.1.2:5080">192.168.1.2:5080</a>) has 719 bytes, veclen = 1<br>
recv 719 bytes from udp/[217.9.36.145]:5060 at 22:06:19.632972:<br>   ------------------------------------------------------------------------<br>   SIP/2.0 401 Unauthorized<br>   Via: SIP/2.0/UDP 192.168.1.2:5080:5080;rport=14802;branch=z9hG4bKjS09v88N9p59K<br>
   From: &lt;<a href="mailto:sip%3Axxxxxx@sip.iptel.org">sip:xxxxxx@sip.iptel.org</a>;transport=udp&gt;;tag=mr5aK9Kae2NUc<br>   To: &lt;<a href="mailto:sip%3Axxxxxx@sip.iptel.org">sip:xxxxxx@sip.iptel.org</a>;transport=udp&gt;;tag=f18024bbca64dd60f33bcd92c390ee0f-cdb3<br>
   Call-ID: 8a54537e-60c5-11e1-bad3-d7306514fb4e<br>   CSeq: 24810914 REGISTER<br>   Expires: 600<br>   Min-Expires: 240<br>   WWW-Authenticate: Digest realm=&quot;<a href="http://iptel.org">iptel.org</a>&quot;, nonce=&quot;T0quXk9KriLfzN6ysUPoBERFuiQMzRs+&quot;<br>
   Server: ser (3.3.0-dev0 (i386/linux))<br>   Content-Length: 0<br>   Warning: 392 <a href="http://217.9.36.145:5060">217.9.36.145:5060</a> &quot;Noisy feedback tells:  pid=868 req_src_ip=122.176.168.104 req_src_port=14802 in_uri=sip:<a href="http://sip.iptel.org">sip.iptel.org</a>;transport=udp out_uri=sip:<a href="http://sip.iptel.org">sip.iptel.org</a>;transport=udp via_cnt==1&quot;<br>
   <br>   ------------------------------------------------------------------------<br>tport_deliver(0x96a8c98): msg 0x970e400 (719 bytes) from udp/<a href="http://217.9.36.145:5080/sip">217.9.36.145:5080/sip</a> next=(nil)<br>
nta: received 401 Unauthorized for REGISTER (24810914)<br>nta: 401 Unauthorized has fatal syntax errors<br>nta: timer E fired, retransmit REGISTER (24810914)<br>tport_release(0x96a8c98): 0x983f808 by 0x971ccd8 with (nil)<br>
tport_tsend(0x96a8c98) tpn = udp/<a href="http://217.9.36.145:5060">217.9.36.145:5060</a><br>tport_resolve addrinfo = <a href="http://217.9.36.145:5060">217.9.36.145:5060</a><br>tport_by_addrinfo(0x96a8c98): not found by name udp/<a href="http://217.9.36.145:5060">217.9.36.145:5060</a><br>
tport_vsend(0x96a8c98): 657 bytes of 657 to udp/<a href="http://217.9.36.145:5060">217.9.36.145:5060</a><br>tport_vsend returned 657<br>send 657 bytes to udp/[217.9.36.145]:5060 at 22:06:23.387211:<br>   ------------------------------------------------------------------------<br>
   REGISTER sip:<a href="http://sip.iptel.org">sip.iptel.org</a>;transport=udp SIP/2.0<br>   Via: SIP/2.0/UDP 122.176.168.104:5080;rport;branch=z9hG4bKjS09v88N9p59K<br>   Max-Forwards: 70<br>   From: &lt;<a href="mailto:sip%3Axxxxxx@sip.iptel.org">sip:xxxxxx@sip.iptel.org</a>;transport=udp&gt;;tag=mr5aK9Kae2NUc<br>
   To: &lt;<a href="mailto:sip%3Axxxxxxxx@sip.iptel.org">sip:xxxxxxxx@sip.iptel.org</a>;transport=udp&gt;<br>   Call-ID: 8a54537e-60c5-11e1-bad3-d7306514fb4e<br>   CSeq: 24810914 REGISTER<br>   Contact: &lt;sip:gw+iptel@122.176.168.104:5080;transport=udp;gw=iptel&gt;<br>
   Expires: 3600<br>   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-0c715f1 2012-02-24 15-41-16 -0800<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<br>   Supported: timer, precondition, path, replaces<br>
   Content-Length: 0<br>   <br>   ------------------------------------------------------------------------<br>nta: resent REGISTER (24810914) to udp/<a href="http://217.9.36.145:5060">217.9.36.145:5060</a><br>tport_pend(0x96a8c98): pending 0x983f808 for udp/<a href="http://192.168.1.2:5080">192.168.1.2:5080</a> (already 0)<br>
nta_outgoing_timer: 1/1 resent, 0/1 tout, 0/0 term, 0/1 free<br>nta: timer set next to 4000 ms<br>tport_wakeup_pri(0x96a8c98): events IN<br>tport_recv_event(0x96a8c98)<br>tport_recv_iovec(0x96a8c98) msg 0x96a8e88 from (udp/<a href="http://192.168.1.2:5080">192.168.1.2:5080</a>) has 719 bytes, veclen = 1<br>
recv 719 bytes from udp/[217.9.36.145]:5060 at 22:06:23.911598:<br>   ------------------------------------------------------------------------<br>   SIP/2.0 401 Unauthorized<br>   Via: SIP/2.0/UDP 192.168.1.2:5080:5080;rport=14802;branch=z9hG4bKjS09v88N9p59K<br>
   From: &lt;<a href="mailto:sip%3Axxxxxxx@sip.iptel.org">sip:xxxxxxx@sip.iptel.org</a>;transport=udp&gt;;tag=mr5aK9Kae2NUc<br>   To: &lt;<a href="mailto:sip%3Axxxxxxx@sip.iptel.org">sip:xxxxxxx@sip.iptel.org</a>;transport=udp&gt;;tag=f18024bbca64dd60f33bcd92c390ee0f-cdb3<br>
   Call-ID: 8a54537e-60c5-11e1-bad3-d7306514fb4e<br>   CSeq: 24810914 REGISTER<br>   Expires: 600<br>   Min-Expires: 240<br>   WWW-Authenticate: Digest realm=&quot;<a href="http://iptel.org">iptel.org</a>&quot;, nonce=&quot;T0quXk9KriLfzN6ysUPoBERFuiQMzRs+&quot;<br>
   Server: ser (3.3.0-dev0 (i386/linux))<br>   Content-Length: 0<br>   Warning: 392 <a href="http://217.9.36.145:5060">217.9.36.145:5060</a> &quot;Noisy feedback tells:  pid=868 req_src_ip=122.176.168.104 req_src_port=14802 in_uri=sip:<a href="http://sip.iptel.org">sip.iptel.org</a>;transport=udp out_uri=sip:<a href="http://sip.iptel.org">sip.iptel.org</a>;transport=udp via_cnt==1&quot;<br>
   <br>   ------------------------------------------------------------------------<br>tport_deliver(0x96a8c98): msg 0x96a8e88 (719 bytes) from udp/217.9.36<br><br>Denis, are you behind a NAT? <br><br>@Brian, you better take some rest. <br>
<br clear="all">regards,<br>Anita<br><br>
<br><br><div class="gmail_quote">On Mon, Feb 27, 2012 at 3:24 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">SIP TRACE please.<div><br></div><div>/b</div><div>Sent from my Hospital bed.</div><div class="im"><div><br><div><div>On Feb 26, 2012, at 2:14 PM, Vitalie Colosov wrote:</div><br><blockquote type="cite">
<span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">BTW, can you post all 4 queries of one register attempt (1,2,3,4)?</span></blockquote>
</div><br></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>