<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><span>Hi Anita.</span><div><span><br></span></div><div><span>I sent you an email with my username and password on iptel.org.</span></div><div><span><br></span></div><div><span>Thank you for your help,<br><br><span name="x"></span>Denis<span name="x"></span><br></span><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><b>Da: </b>"Anita Hall" <anita.hall@simmortel.com><br><b>A: </b>"FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><br><b>Inviato: </b>Domenica, 26 febbraio 2012 13:14:50<br><b>Oggetto: </b>Re: [Freeswitch-users] 401 Unauthorized in iptel external gateway<br><br>Vitalie is right. I have seen similar logs. <br><br>I am currently using localphone and rapidvox as SIP provider and both register Ok. <br><br>This is my sip_profile <a href="http://wiki.freeswitch.org/wiki/Provider_Configuration:_Localphone.com" target="_blank">http://wiki.freeswitch.org/wiki/Provider_Configuration:_Localphone.com</a><br>
<br>I could look it up for you if you can give remote access to your machine and watch over screen or byobu.<br><br>Alternatively, you could give me your account name and password. I will check if it works from my installation. I promise not to make any calls and you can change the password later :)<br>
<br clear="all">regards,<br>Anita<br><br>
<br><br><div class="gmail_quote">On Sun, Feb 26, 2012 at 11:34 AM, Denis Gasparin <span dir="ltr"><<a href="mailto:denis.gasparin@edistar.com" target="_blank">denis.gasparin@edistar.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>Sorry, i did not exposed well the problem...</div><div><br></div><div>I was able to call iptel account directly without the gateway (so without registering to iptel).</div><div><br></div><div>When i setup the gateway i see sofia trying continuosly to register to iptel without success.</div>
<div>I see many 401 messages like this:</div><div><br><div><div><font color="#000000">1. FS->IPTEL Register</font></div><div><font color="#000000">2. IPTEL->FS Unauthorized</font></div></div>3. FS->IPTEL Register</div>
<div>4. IPTEL->FS Unauthorized</div><div>5. FS->IPTEL Register</div><div>...<br><br></div><div>After a while sofia stops trying to register and retries after 30 seconds and so on.</div><div><br></div><div>Thank you for your help,</div>
<div>Denid</div><div><br>Il giorno 26/feb/2012, alle ore 02:20, Vitalie Colosov <<a href="mailto:vetali100@gmail.com" target="_blank">vetali100@gmail.com</a>> ha scritto:<br><br></div><div><div class="h5"><div></div>
<blockquote><div>Usually SIP registration goes like this:<div><br></div><div>1. FS->IPEL Register<br></div></div></blockquote><blockquote><div><div>2. IPTEL->FS Unauthorized</div></div></blockquote>
<blockquote><div><div>3. FS->IPTEL Register (yes, again, with additional credentials)</div><div>4. IPTEL->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"><<a href="mailto:denis.gasparin@edistar.com" target="_blank">denis.gasparin@edistar.com</a>></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> 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: <<a href="mailto:sip%3AMY_ACCOUNT@iptel.org" target="_blank">sip:MY_ACCOUNT@iptel.org</a>;transport=udp>;tag=XQ58BvHmj15eD</div><div> To: <<a href="mailto:sip%3AMY_ACCOUNT@iptel.org" target="_blank">sip:MY_ACCOUNT@iptel.org</a>;transport=udp></div>
<div> Call-ID: 8c2823cd-573d-4cc2-8e01-cba340ae890f</div><div> CSeq: 24760296 REGISTER</div><div> Contact: <sip:gw+iptel@MY_PUBLIC_IP:5080;transport=udp;gw=iptel></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: <sip:</span>MY_ACCOUNT<span>@<a href="http://iptel.org" target="_blank">iptel.org</a>;transport=udp>;tag=XQ58BvHmj15eD</span></div><div><span> To: <sip:</span>MY_ACCOUNT<span>@<a href="http://iptel.org" target="_blank">iptel.org</a>;transport=udp>;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="<a href="http://iptel.org" target="_blank">iptel.org</a>", nonce="T0ki/U9JIsE+F7QdNo/qIktZaDvpS0sn"</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> "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"</span></div>
<div> </div><div> ------------------------------------------------------------------------</div><div><br></div><div>I'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'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" target="_blank">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" target="_blank">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>
</div></blockquote><blockquote><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br>
<span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></span><br>
<span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></span><br>
<span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br></div></blockquote></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
<br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>consulting@freeswitch.org<br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote><br></div></div></body></html>