SIP trace would probably reveal why.<br>-MC<br><br><div class="gmail_quote">On Mon, Feb 27, 2012 at 3:53 PM, Denis Gasparin <span dir="ltr">&lt;<a href="mailto:denis.gasparin@edistar.com">denis.gasparin@edistar.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Sorry but I don&#39;t understand. I agree with you that those values are invalid but using those values registration and rtp work.<br>
<br>
The (correct, I hope) configuration I should use according to the wiki in sip_profiles/external.xml:<br>
<br>
    &lt;param name=&quot;rtp-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;<br>
    &lt;param name=&quot;sip-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;<br>
    &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;<br>
    &lt;param name=&quot;ext-sip-ip&quot; value=&quot;$${external_sip_ip}&quot;/&gt;<br>
<br>
external_rtp_ip and external_sip_ip are set to my public ip in vars.xml.<br>
With this configuration registration does not work.<br>
<br>
But with this (wrong) configuration registration and communication with iptel works fine:<br>
<br>
    &lt;param name=&quot;rtp-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;<br>
    &lt;param name=&quot;sip-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;<br>
    &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;**invalid_value_or_my_private_ip_address**&quot;/&gt;<br>
    &lt;param name=&quot;ext-sip-ip&quot; value=&quot;**invalid_value_or_my_private_ip_address**&quot;/&gt;<br>
<br>
<br>
Why?<br>
<br>
Thank you,<br>
Denis<br>
<br>
----- Messaggio originale -----<br>
&gt; Da: &quot;Michael Collins&quot; &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;<br>
&gt; A: &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt; Inviato: Luned́, 27 febbraio 2012 23:30:33<br>
&gt; Oggetto: Re: [Freeswitch-users] 401 Unauthorized in iptel external gateway<br>
&gt; On Mon, Feb 27, 2012 at 2:08 PM, Brian West &lt; <a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a> &gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; That would be because these values are INVALID.<br>
&gt;<br>
&gt;<br>
&gt; /b<br>
&gt;<br>
&gt;<br>
&gt; Indeed. Check this info for suggestions on what can go there:<br>
&gt;<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Sofia.conf.xml#ext-rtp-ip" target="_blank">http://wiki.freeswitch.org/wiki/Sofia.conf.xml#ext-rtp-ip</a><br>
&gt;<br>
&gt; -MC<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<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>
</blockquote></div><br>