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"><<a href="mailto:denis.gasparin@edistar.com">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"><br>
Sorry but I don'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>
<param name="rtp-ip" value="$${local_ip_v4}"/><br>
<param name="sip-ip" value="$${local_ip_v4}"/><br>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/><br>
<param name="ext-sip-ip" value="$${external_sip_ip}"/><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>
<param name="rtp-ip" value="$${local_ip_v4}"/><br>
<param name="sip-ip" value="$${local_ip_v4}"/><br>
<param name="ext-rtp-ip" value="**invalid_value_or_my_private_ip_address**"/><br>
<param name="ext-sip-ip" value="**invalid_value_or_my_private_ip_address**"/><br>
<br>
<br>
Why?<br>
<br>
Thank you,<br>
Denis<br>
<br>
----- Messaggio originale -----<br>
> Da: "Michael Collins" <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>
> A: "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
> Inviato: Luned́, 27 febbraio 2012 23:30:33<br>
> Oggetto: Re: [Freeswitch-users] 401 Unauthorized in iptel external gateway<br>
> On Mon, Feb 27, 2012 at 2:08 PM, Brian West < <a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a> ><br>
> wrote:<br>
><br>
><br>
><br>
> That would be because these values are INVALID.<br>
><br>
><br>
> /b<br>
><br>
><br>
> Indeed. Check this info for suggestions on what can go there:<br>
><br>
> <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>
><br>
> -MC<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>
<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>