more config goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9705 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3de988500f
commit
0c1707bb36
|
@ -9,6 +9,22 @@
|
|||
</condition>
|
||||
</extension>
|
||||
|
||||
<!-- Try to get target_domain from the sip_req_params variable -->
|
||||
<extension name="set_domain" continue="true">
|
||||
<condition field="${target_domain}" expression="^$" break="never"/>
|
||||
<condition field="source" expression="mod_sofia" break="never"/>
|
||||
<condition field="${sip_req_params}" expression="target_domain=([A-Z-a-z0-9.]+)" break="never">
|
||||
<action application="set" data="target_domain=$1"/>
|
||||
<anti-action application="set" data="target_domain=$${domain}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="call_debug">
|
||||
<condition field="${call_debug}" expression="^true$" break="never">
|
||||
<action application="info"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="public_extensions">
|
||||
<condition field="destination_number" expression="^(10[01][0-9])$">
|
||||
<action application="transfer" data="$1 XML default"/>
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
<param name="from-domain" value="asterlink.com"/>
|
||||
<param name="expire-seconds" value="600"/>
|
||||
<param name="register" value="true"/>
|
||||
<param name="retry_seconds" value="30"/>
|
||||
<param name="retry-seconds" value="30"/>
|
||||
<param name="contact-params" value="target_domain=$${domain}"/>
|
||||
<param name="extension" value="%ALEXTENSION%"/>
|
||||
<param name="context" value="public"/>
|
||||
</gateway>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<param name="password" value="%ISPASSWORD%"/>
|
||||
<param name="expire-seconds" value="600"/>
|
||||
<param name="register" value="true"/>
|
||||
<param name="retry_seconds" value="30"/>
|
||||
<param name="retry-seconds" value="30"/>
|
||||
<param name="extension" value="%ISEXTENSION%"/>
|
||||
<param name="context" value="public"/>
|
||||
</gateway>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<param name="register" value="true"/>
|
||||
<param name="proxy" value="sip.intelefone.net"/>
|
||||
<param name="register-proxy" value="sip.intelefone.net"/>
|
||||
<param name="retry_seconds" value="30"/>
|
||||
<param name="retry-seconds" value="30"/>
|
||||
<param name="extension" value="%%USERNAME%%"/>
|
||||
<param name="context" value="public"/>
|
||||
</gateway>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<param name="password" value="%FWDPASSWORD%"/>
|
||||
<param name="expire-seconds" value="600"/>
|
||||
<param name="register" value="true"/>
|
||||
<param name="retry_seconds" value="30"/>
|
||||
<param name="retry-seconds" value="30"/>
|
||||
<param name="extension" value="%FWDEXTENSION%"/>
|
||||
<param name="context" value="public"/>
|
||||
</gateway>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<!--/// register ///-->
|
||||
<param name="register" value="true"/>
|
||||
<!--How many seconds before a retry when a failure or timeout occurs -->
|
||||
<param name="retry_seconds" value="3600"/>
|
||||
<param name="retry-seconds" value="3600"/>
|
||||
<!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
|
||||
<!--<param name="caller-id-in-from" value="false"/>-->
|
||||
</gateway>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<param name="password" value="%SPPASSWORD%"/>
|
||||
<param name="expire-seconds" value="600"/>
|
||||
<param name="register" value="true"/>
|
||||
<param name="retry_seconds" value="5"/>
|
||||
<param name="retry-seconds" value="5"/>
|
||||
<param name="extension" value="%SPEXTENSION%"/>
|
||||
<param name="context" value="public"/>
|
||||
</gateway>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<param name="password" value="%VUPASSWORD%"/>
|
||||
<param name="expire-seconds" value="600"/>
|
||||
<param name="register" value="true"/>
|
||||
<param name="retry_seconds" value="30"/>
|
||||
<param name="retry-seconds" value="30"/>
|
||||
<param name="extension" value="%VUEXTENSION%"/>
|
||||
<param name="context" value="public"/>
|
||||
</gateway>
|
||||
|
|
Loading…
Reference in New Issue