FS: Bind external IP by interface

Let's use freeswitch's interface: capability rather than specify a static IP
to bind to, which breaks then on systems attached to a DHCP router.
This commit is contained in:
Keith Whyte 2022-11-19 00:08:18 +01:00
parent 06100c7d2d
commit 020284bf96
4 changed files with 6 additions and 4 deletions

View file

@ -37,6 +37,7 @@
-->
<X-PRE-PROCESS cmd="set" data="local_ip_v4=<%= @vpn_ip_address %>"/>
<X-PRE-PROCESS cmd="set" data="interface_ip=interface:<%= @fs_bound_if %>"/>
<X-PRE-PROCESS cmd="set" data="external_ip=<%= @wan_ip_address %>"/>
<X-PRE-PROCESS cmd="set" data="sound_prefix=$${sounds_dir}/rccn"/>