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:
parent
06100c7d2d
commit
020284bf96
4 changed files with 6 additions and 4 deletions
|
@ -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"/>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue