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