mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
more tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9708 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
264f4b7f69
commit
a809ef63a9
@ -17,9 +17,10 @@
|
||||
-->
|
||||
<extension name="set_domain" continue="true">
|
||||
<condition field="${target_domain}" expression="^$" break="never"/>
|
||||
<condition field="source" expression="mod_sofia" break="never">
|
||||
<action application="set" data="target_domain=${sip_auth_realm}"/>
|
||||
<anti-action application="set" data="target_domain=$${domain}"/>
|
||||
<condition field="source" expression="mod_sofia" break="never"/>
|
||||
<condition field="${sip_auth_realm}" expression="^$" break="never">
|
||||
<action application="set" data="target_domain=$${domain}"/>
|
||||
<anti-action application="set" data="target_domain=${sip_auth_realm}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
@ -79,13 +80,14 @@
|
||||
</extension>
|
||||
|
||||
<!-- If to_host and from_host differ this is an external sip URI so lets send it out. -->
|
||||
<!--
|
||||
<extension name="external_sip_uri" continue="true">
|
||||
<condition field="source" expression="mod_sofia"/>
|
||||
<condition field="${sip_from_host}" expression="${sip_to_host}">
|
||||
<anti-action application="bridge" data="sofia/${use_profile}/${sip_to_uri}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
-->
|
||||
<!--
|
||||
snom button demo, call 9000 to make button 2 mapped to transfer the current call to a conference
|
||||
-->
|
||||
|
@ -14,12 +14,13 @@
|
||||
<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}"/>
|
||||
<!-- We need to export this so the B-Leg will have it after transfer too. -->
|
||||
<action application="export" data="target_domain=$1"/>
|
||||
<anti-action application="export" data="target_domain=$${domain}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="call_debug">
|
||||
<extension name="call_debug" continue="true">
|
||||
<condition field="${call_debug}" expression="^true$" break="never">
|
||||
<action application="info"/>
|
||||
</condition>
|
||||
|
Loading…
x
Reference in New Issue
Block a user