Add remote transcoding sip profile
Also, adds a global var vpn_ip for clarity.
This commit is contained in:
parent
a371dd54fe
commit
20c16d811a
2 changed files with 53 additions and 0 deletions
|
@ -0,0 +1,52 @@
|
|||
<profile name="rem_xcode">
|
||||
|
||||
<gateways>
|
||||
<gateway name="xcode">
|
||||
<param name="username" value="rhizomatica"/>
|
||||
<param name="from-user" value="buster"/>
|
||||
<param name="password" value="xcode"/>
|
||||
<param name="proxy" value="10.23.0.14"/>
|
||||
<param name="register" value="true"/>
|
||||
<param name="caller-id-in-from" value="true"/>
|
||||
</gateway>
|
||||
</gateways>
|
||||
|
||||
<aliases>
|
||||
</aliases>
|
||||
|
||||
<domains>
|
||||
<domain name="all" alias="false" parse="false"/>
|
||||
</domains>
|
||||
|
||||
<settings>
|
||||
<param name="debug" value="0"/>
|
||||
<param name="sip-trace" value="no"/>
|
||||
<param name="sip-capture" value="no"/>
|
||||
<param name="rfc2833-pt" value="101"/>
|
||||
<param name="sip-port" value="5062"/>
|
||||
<param name="dialplan" value="XML"/>
|
||||
<param name="context" value="public"/>
|
||||
<param name="dtmf-duration" value="2000"/>
|
||||
<param name="inbound-codec-prefs" value="AMR,GSM"/>
|
||||
<param name="outbound-codec-prefs" value="AMR,GSM"/>
|
||||
<param name="rtp-timer-name" value="soft"/>
|
||||
<param name="local-network-acl" value="localnet.auto"/>
|
||||
<param name="manage-presence" value="false"/>
|
||||
<param name="aggressive-nat-detection" value="false"/>
|
||||
<param name="nat-options-ping" value="false"/>
|
||||
<param name="inbound-codec-negotiation" value="greedy"/>
|
||||
<param name="nonce-ttl" value="60"/>
|
||||
<param name="auth-calls" value="false"/>
|
||||
<param name="inbound-late-negotiation" value="true"/>
|
||||
<param name="inbound-zrtp-passthru" value="true"/>
|
||||
|
||||
<param name="rtp-ip" value="$${interface_ip}"/>
|
||||
<param name="sip-ip" value="$${vpn_ip}"/>
|
||||
<param name="ext-rtp-ip" value="stun:sat.rhizomatica.org:3479"/>
|
||||
<param name="ext-sip-ip" value="$${vpn_ip}"/>
|
||||
<param name="rtp-timeout-sec" value="90"/>
|
||||
<param name="rtp-hold-timeout-sec" value="1800"/>
|
||||
|
||||
<param name="tls" value="false"/>
|
||||
</settings>
|
||||
</profile>
|
|
@ -37,6 +37,7 @@
|
|||
-->
|
||||
|
||||
<X-PRE-PROCESS cmd="set" data="local_ip_v4=<%= @vpn_ip_address %>"/>
|
||||
<X-PRE-PROCESS cmd="set" data="vpn_ip=<%= @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