<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-family:Calibri,sans-serif;font-size:15px">Thanks I'll try that out. I assume its internal profile only?</span></blockquote><div><br></div><div>Internal is just a profile in the example vanilla config. You can have any number of profiles you like, with any name.</div>
<div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Also -nonat is just an argument right when launching freeswitch.exe</blockquote><div><br></div><div>Yes. You'll still want the nat support if any of your profiles are behind NAT. </div><div><br></div></div><div dir="ltr" style="font-family:arial,sans-serif;font-size:13px">
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 October 2013 13:03, Andre Demattia <span dir="ltr"><<a href="mailto:andretodd@verizon.net" target="_blank">andretodd@verizon.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Thanks I'll try that out. I assume its internal profile only?<br>Also -nonat is just an argument right when launching freeswitch.exe</div></div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">From: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:steveayre@gmail.com" target="_blank">Steven Ayre</a></span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Sent: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">10/15/2013 6:29 AM</span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">To: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a></span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Subject: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Re: [Freeswitch-users] multiple sip profiles</span><br><br></div><div>
<div>
<div dir="ltr">You duplicate the entire <profile> tag, usuallly found in /etc/freeswitch/sip_profiles
<div><br></div>
<div>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).</div>
<div><br></div>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid"><span style="FONT-SIZE:13px;FONT-FAMILY:arial,sans-serif">Also on a real server with a static IP should I also remove auto-nat?</span></blockquote>
<div><br></div>
<div>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.</div>
<div><br></div>
<div>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.</div>
<div><br></div>
<div>-Steve</div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On 15 October 2013 00:40, Andre <span dir="ltr"><<a href="mailto:andretodd@verizon.net" target="_blank">andretodd@verizon.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">What values need to be changed to create multiple sip profiles?<br>Let's say my box has 2 IP's and I want only some traffic on one IP.<br>
<br>In Internal I see these fields, should I change these to my other IP?<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="auto-nat"/><br> <param name="ext-sip-ip" value="auto-nat"/><br><param name="sip-port" value="5062"/><br>
<br>
Also on a real server with a static IP should I also remove auto-nat?<br>Thanks<br><br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></blockquote></div><br></div></div>