[Freeswitch-users] multiple sip profiles

Steven Ayre steveayre at gmail.com
Tue Oct 15 14:29:48 MSD 2013


You duplicate the entire <profile> tag, usuallly found
in /etc/freeswitch/sip_profiles

A profile is binds to a single sip-ip and sip-port combination. You want to
change the IP, port, or both on the new profile. rtp-ip *can* be the same,
but is probably best matching the sip-ip (on a multihomed server you then
know the media's taking the same working route that the signalling is).

Also on a real server with a static IP should I also remove auto-nat?


I don't use any nat stuff on a public IP. I have no ext-*-ip params set,
which means they default to using the sip-ip and rtp-ip values.

I also start freeswitch with the -nonat flag (in the init.d script) which
lets it start up much faster as it doesn't bother autodetecting your
non-existent NAT router.

-Steve


On 15 October 2013 00:40, Andre <andretodd at verizon.net> wrote:

> What values need to be changed to create multiple sip profiles?
> Let's say my box has 2 IP's and I want only some traffic on one IP.
>
> In Internal I see these fields, should I change these to my other IP?
>
> <param name="rtp-ip" value="$${local_ip_v4}"/>
> <param name="sip-ip" value="$${local_ip_v4}"/>
>    <param name="ext-rtp-ip" value="auto-nat"/>
>     <param name="ext-sip-ip" value="auto-nat"/>
> <param name="sip-port" value="5062"/>
>
> Also on a real server with a static IP should I also remove auto-nat?
> Thanks
>
>
> _________________________________________________________________________
> 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/20131015/ee9c8711/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list