[Freeswitch-users] 401 Unauthorized in iptel external gateway

Michael Collins msc at freeswitch.org
Tue Feb 28 03:15:43 MSK 2012


SIP trace would probably reveal why.
-MC

On Mon, Feb 27, 2012 at 3:53 PM, Denis Gasparin
<denis.gasparin at 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 at freeswitch.org>
> > A: "FreeSWITCH Users Help" <freeswitch-users at 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 at 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 at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120227/408f0244/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list