<html><head></head><body>Hi Kurtis,<div><br></div><div>Why not make a separate profile for each provider?<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> "Kurtis Heimerl" <<a href="mailto:kheimerl@cs.berkeley.edu">kheimerl@cs.berkeley.edu</a>><br><strong>To:</strong> "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
<strong>Sent:</strong> 22 July, 2014 7:14 PM<br><strong>Subject:</strong> [Freeswitch-users] MultiNAT<br></div><br><div dir="ltr">Hey Users,<div><br></div><div>I have an interesting NAT setup. I'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><param name="ext-rtp-ip" value="10.0.0.2"/></div><div><param name="ext-sip-ip" value="10.0.0.2"/></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></body></html>