[Freeswitch-svn] [commit] r9708 - freeswitch/trunk/conf/dialplan
Freeswitch SVN
brian at freeswitch.org
Sun Sep 28 19:36:23 EDT 2008
Author: brian
Date: Sun Sep 28 19:36:22 2008
New Revision: 9708
Modified:
freeswitch/trunk/conf/dialplan/default.xml
freeswitch/trunk/conf/dialplan/public.xml
Log:
more tweaks
Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml (original)
+++ freeswitch/trunk/conf/dialplan/default.xml Sun Sep 28 19:36:22 2008
@@ -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
-->
Modified: freeswitch/trunk/conf/dialplan/public.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/public.xml (original)
+++ freeswitch/trunk/conf/dialplan/public.xml Sun Sep 28 19:36:22 2008
@@ -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>
More information about the Freeswitch-svn
mailing list