[Freeswitch-svn] [commit] r6398 - freeswitch/trunk/conf/dialplan
Freeswitch SVN
mikej at freeswitch.org
Mon Nov 26 14:15:17 EST 2007
Author: mikej
Date: Mon Nov 26 14:15:17 2007
New Revision: 6398
Modified:
freeswitch/trunk/conf/dialplan/default.xml
Log:
add dialing by sip (thanks trixter)
Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml (original)
+++ freeswitch/trunk/conf/dialplan/default.xml Mon Nov 26 14:15:17 2007
@@ -34,8 +34,15 @@
<anti-action application="bridge" data="sofia/$${domain}/${dialed_ext}"/>
<anti-action application="voicemail" data="default $${domain} ${dialed_ext}"/>
</condition>
- </extension>
-
+ </extension>
+
+ <!-- dial via SIP uri -->
+ <extension name="SIP_URI">
+ <condition field="destination_number" expression="^sip:(.*)$">
+ <action application="bridge" data="sofia/${use_profile}/$1"/>
+ </condition>
+ </extension>
+
<!--
start a dynamic conference with the settings of the
"default" conference profile in conference.conf.xml
More information about the Freeswitch-svn
mailing list