[Freeswitch-users] multiple sip profiles

Steven Ayre steveayre at gmail.com
Tue Oct 15 18:42:02 MSD 2013


>
> Thanks I'll try that out. I assume its internal profile only?


Internal is just a profile in the example vanilla config. You can have any
number of profiles you like, with any name.

My advice goes for any profile where the bind (ie local on the server)
address and external (ie seen by the sip client) address are the same.


> Also -nonat is just an argument right when launching freeswitch.exe


Yes. You'll still want the nat support if any of your profiles are behind
NAT.



On 15 October 2013 13:03, Andre Demattia <andretodd at verizon.net> wrote:

>  Thanks I'll try that out. I assume its internal profile only?
> Also -nonat is just an argument right when launching freeswitch.exe
>  ------------------------------
> From: Steven Ayre <steveayre at gmail.com>
> Sent: 10/15/2013 6:29 AM
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Subject: Re: [Freeswitch-users] multiple sip profiles
>
>  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
>>
>
>
> _________________________________________________________________________
> 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/ecbc97b8/attachment.html 


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