<html><head></head><body>Either give them separate ip addresses or separate ports.<div><br><br><div id="1330841270974-sig-id">Sent from my BlackBerry® PlayBook™<br><a href="http://www.blackberry.com">www.blackberry.com</a></div>
<br><hr><div><strong>From:</strong> &quot;Kurtis Heimerl&quot; &lt;<a href="mailto:kheimerl@cs.berkeley.edu">kheimerl@cs.berkeley.edu</a>&gt;<br><strong>To:</strong> &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<strong>Sent:</strong> 22 July, 2014 8:04 PM<br><strong>Subject:</strong> Re: [Freeswitch-users] MultiNAT<br></div><br><div dir="ltr">They all have to sit on the same internal IP and Port, so I don&#39;t think I can. </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 4:57 PM, Russell Treleaven <span dir="ltr">&lt;<a href="mailto:rtreleaven@bunnykick.ca" target="_blank">rtreleaven@bunnykick.ca</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Kurtis,<div><br></div><div>Why not make a separate profile for each provider?<br><br><div>Sent from my BlackBerry® PlayBook™<br>


<a href="http://www.blackberry.com" target="_blank">www.blackberry.com</a></div>
<br><hr><div><strong>From:</strong> &quot;Kurtis Heimerl&quot; &lt;<a href="mailto:kheimerl@cs.berkeley.edu" target="_blank">kheimerl@cs.berkeley.edu</a>&gt;<br><strong>To:</strong> &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>



<strong>Sent:</strong> 22 July, 2014 7:14 PM<br><strong>Subject:</strong> [Freeswitch-users] MultiNAT<br></div><div><div class="h5"><br><div dir="ltr">Hey Users,<div><br></div><div>I have an interesting NAT setup. I&#39;m running FS on the inside of our network as a router/proxy between some SIP phones and DID providers. However, each DID provider is behind a *different* NAT (a property of our VPN setups for them). </div>





<div><br></div><div>For instance: DID1 is at IP 192.168.1.1 and DID2 is at 10.0.0.1. </div><div><br></div><div>I have calls working for each of them when I set the following in my external profile:</div><div><br></div><div>





<div>&lt;param name=&quot;ext-rtp-ip&quot; value=&quot;10.0.0.2&quot;/&gt;</div><div>&lt;param name=&quot;ext-sip-ip&quot; value=&quot;10.0.0.2&quot;/&gt;</div></div><div><br></div><div>However, I need to dynamically route between *both* of them. I need a mechanism for setting ext-rtp-ip and ext-sip-ip in the dialplan itself! </div>





<div><br></div><div>Is there a set way to do this? </div><div><br></div><div>Thanks!</div></div>
</div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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></body></html>