[Freeswitch-users] MultiNAT

Kurtis Heimerl kheimerl at cs.berkeley.edu
Wed Jul 23 04:28:35 MSD 2014


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 at bunnykick.ca>
wrote:

> Either give them separate ip addresses or separate ports.
>
>
> 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 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 at 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 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!
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140722/0c0d1cf8/attachment.html 


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