提交 a809ef63 authored 作者: Brian West's avatar Brian West

more tweaks

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9708 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 264f4b7f
......@@ -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>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论