[Freeswitch-users] MultiNAT

Russell Treleaven rtreleaven at bunnykick.ca
Wed Jul 23 03:57:20 MSD 2014


Hi Kurtis,

Why not make a separate profile for each provider?

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

------------------------------
*From:* "Kurtis Heimerl" <kheimerl at cs.berkeley.edu>
*To:* "FreeSWITCH Users Help" <freeswitch-users at 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140722/dd879635/attachment-0001.html 


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