Usually SIP registration goes like this:<div><br></div><div>1. FS-&gt;IPEL Register</div><div>2. IPTEL-&gt;FS Unauthorized</div><div>3. FS-&gt;IPTEL Register (yes, again, with additional credentials)</div><div>4. IPTEL-&gt;FS OK</div>
<div><br></div><div>You say that you was able to call iptel successfully, so FS is registered.</div><div>You just did not observed and did not provide SIP messages #3 and #4.</div><div><br></div><div><br></div><div><br><div class="gmail_quote">
2012/2/25 Denis Gasparin <span dir="ltr">&lt;<a href="mailto:denis.gasparin@edistar.com">denis.gasparin@edistar.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:Arial"><div>Hi to all.</div><div><br></div><div>Today I installed freeswitch following the guide in Freeswitch book.</div><div>I made successfully all the tests in the book... well all but one.</div>
<div><br></div><div>When I tried to setup an external gateway on my iptel account, the registration process failed with 401 sip message.</div><div><br></div><div>This is the sip trace:</div><div><br></div><div>freeswitch@dhcppc7&gt; send 647 bytes to udp/[217.9.36.145]:5060 at 17:59:20.965613:</div>
<div>   ------------------------------------------------------------------------</div><div>   REGISTER sip:<a href="http://sip.iptel.org" target="_blank">sip.iptel.org</a>;transport=udp SIP/2.0</div><div>   Via: SIP/2.0/UDP MY_PUBLIC_IP:5080;rport;branch=z9hG4bKXNc7jeQB7BXrp</div>
<div>   Max-Forwards: 70</div><div>   From: &lt;<a href="mailto:sip%3AMY_ACCOUNT@iptel.org" target="_blank">sip:MY_ACCOUNT@iptel.org</a>;transport=udp&gt;;tag=XQ58BvHmj15eD</div><div>   To: &lt;<a href="mailto:sip%3AMY_ACCOUNT@iptel.org" target="_blank">sip:MY_ACCOUNT@iptel.org</a>;transport=udp&gt;</div>
<div>   Call-ID: 8c2823cd-573d-4cc2-8e01-cba340ae890f</div><div>   CSeq: 24760296 REGISTER</div><div>   Contact: &lt;sip:gw+iptel@MY_PUBLIC_IP:5080;transport=udp;gw=iptel&gt;</div><div>   Expires: 3600</div><div>   User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24 14-15-32 -0600</div>
<div>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY</div><div>   Supported: timer, precondition, path, replaces</div><div>   Content-Length: 0</div><div>   </div><div>   ------------------------------------------------------------------------</div>
<div>recv 710 bytes from udp/[217.9.36.145]:5060 at 17:59:21.070238:</div><div>   ------------------------------------------------------------------------</div><div>   SIP/2.0 401 Unauthorized</div><div>   Via: SIP/2.0/UDP 192.168.1.9:5080:5080;rport=19198;branch=z9hG4bKXNc7jeQB7BXrp</div>
<div><span>   From: &lt;sip:</span>MY_ACCOUNT<span>@<a href="http://iptel.org" target="_blank">iptel.org</a>;transport=udp&gt;;tag=XQ58BvHmj15eD</span></div><div><span>   To: &lt;sip:</span>MY_ACCOUNT<span>@<a href="http://iptel.org" target="_blank">iptel.org</a>;transport=udp&gt;;tag=f18024bbca64dd60f33bcd92c390ee0f-5904</span></div>
<div>   Call-ID: 8c2823cd-573d-4cc2-8e01-cba340ae890f</div><div>   CSeq: 24760296 REGISTER</div><div>   Expires: 600</div><div>   Min-Expires: 240</div><div>   WWW-Authenticate: Digest realm=&quot;<a href="http://iptel.org" target="_blank">iptel.org</a>&quot;, nonce=&quot;T0ki/U9JIsE+F7QdNo/qIktZaDvpS0sn&quot;</div>
<div>   Server: ser (3.3.0-dev0 (i386/linux))</div><div>   Content-Length: 0</div><div><span>   Warning: 392 <a href="http://217.9.36.145:5060" target="_blank">217.9.36.145:5060</a> &quot;Noisy feedback tells:  pid=863 req_src_ip=</span>MY_PUBLIC_IP<span> req_src_port=19198 in_uri=sip:<a href="http://sip.iptel.org" target="_blank">sip.iptel.org</a>;transport=udp out_uri=sip:<a href="http://sip.iptel.org" target="_blank">sip.iptel.org</a>;transport=udp via_cnt==1&quot;</span></div>
<div>   </div><div>   ------------------------------------------------------------------------</div><div><br></div><div>I&#39;m sure that user account and password are valid.</div><div>I also tested (successfully) a call from my extension to my <a href="mailto:account@iptel.org" target="_blank">account@iptel.org</a>. </div>
<div>Registration to <a href="http://iptel.org" target="_blank">iptel.org</a> using a sip phone with the same user works just fine.</div><div><br></div><div>What&#39;s wrong?</div><div><br></div><div>Thank you in advance for your help,</div>
<div><br></div><div>Denis</div><div><br></div><div><br></div><div><br></div><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></div>