[Freeswitch-users] Digital Ocean Floating IP

Avi Marcus avi at avimarcus.net
Wed Oct 2 18:48:36 UTC 2019


You need to create 2x internal profiles, each profile binds to a single
ip:port

On Wed, Oct 2, 2019, 8:47 PM Sean Devoy <sdevoy at bizfocused.com> wrote:

> Hi,
>
>
>
> Digital ocean has something called a “Floating IP Address” which is a
> static Address that can be move from one virtual machine to another.  Each
> virtual machine gets its own address a creation that lasts until it is
> destroyed.  The Floating IP lets you change the VM it points to vey quickly
> for disaster recovery or even upgrades.
>
>
>
> I found this:
> https://gist.github.com/sanderkwantes/3ab81f2d3d6ee182fa237bbc3f5c1489
> explaining how to use a D.O. Floating IP, and it works. It says add this to
> vars.xml
>
> <X-PRE-PROCESS cmd="exec-set" data="local_ip_v4=ip addr show eth0 | awk
> 'FNR == 5 {print $2}' | cut -d '/' -f 1"/>
>
>
>
> BUT, when I do that, the old (still valid) IP Address can no longer be
> used to register. Tis makes a transition through my DNS from one to other
> very difficult.
>
>
>
> Is there a way to allow 2 valid IP address in a single instance of FS?
>
>
>
> Thanks,
>
> Sean
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191002/ae8ee398/attachment.html>


More information about the FreeSWITCH-users mailing list