[Freeswitch-svn] [commit] r9612 - freeswitch/trunk/conf/dialplan
Freeswitch SVN
brian at freeswitch.org
Mon Sep 22 10:59:13 EDT 2008
Author: brian
Date: Mon Sep 22 10:59:12 2008
New Revision: 9612
Modified:
freeswitch/trunk/conf/dialplan/default.xml
Log:
add sip_external_uri example to send calls outside the domain if they aren't in our domain
Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml (original)
+++ freeswitch/trunk/conf/dialplan/default.xml Mon Sep 22 10:59:12 2008
@@ -64,6 +64,13 @@
</condition>
</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
More information about the Freeswitch-svn
mailing list