I can't do that unfortunately. Our providers are hitting the generic SIP Port: 5060 so that's not available. Our system behind the two NATs has only one network interface, and as such only one available public IP. So we can't just set up a new profile. I can probably hack around this in another way (port forwarding through one of the NATs to allow a second profile on the same IP) but that's pretty ugly and unsustainable going forward. I'd much prefer to simply set the expected external IP in the outbound dialplan for each provider. 


On Tue, Jul 22, 2014 at 5:07 PM, Russell Treleaven <rtreleaven@bunnykick.ca> wrote:
Either give them separate ip addresses or separate ports.


Sent from my BlackBerry® PlayBook™
www.blackberry.com


From: "Kurtis Heimerl" <kheimerl@cs.berkeley.edu>
To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Sent: 22 July, 2014 8:04 PM
Subject: Re: [Freeswitch-users] MultiNAT

They all have to sit on the same internal IP and Port, so I don't think I can. 


On Tue, Jul 22, 2014 at 4:57 PM, Russell Treleaven <rtreleaven@bunnykick.ca> wrote:
Hi Kurtis,

Why not make a separate profile for each provider?

Sent from my BlackBerry® PlayBook™
www.blackberry.com


From: "Kurtis Heimerl" <kheimerl@cs.berkeley.edu>
To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Sent: 22 July, 2014 7:14 PM
Subject: [Freeswitch-users] MultiNAT

Hey Users,

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). 

For instance: DID1 is at IP 192.168.1.1 and DID2 is at 10.0.0.1. 

I have calls working for each of them when I set the following in my external profile:

<param name="ext-rtp-ip" value="10.0.0.2"/>
<param name="ext-sip-ip" value="10.0.0.2"/>

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! 

Is there a set way to do this? 

Thanks!

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org