[Freeswitch-svn] [commit] r6597 - in freeswitch/trunk/conf/dialplan: . extensions

Freeswitch SVN brian at freeswitch.org
Mon Dec 10 13:03:16 EST 2007


Author: brian
Date: Mon Dec 10 13:03:16 2007
New Revision: 6597

Added:
   freeswitch/trunk/conf/dialplan/extensions/
   freeswitch/trunk/conf/dialplan/extensions/pulver.com.noload
   freeswitch/trunk/conf/dialplan/extensions/sipphone.com.noload
Modified:
   freeswitch/trunk/conf/dialplan/default.xml

Log:
more tweaks

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Mon Dec 10 13:03:16 2007
@@ -193,11 +193,12 @@
     </extension>
     -->
 
-    <!-- Catchall ENUM -->
+
+    <X-PRE-PROCESS cmd="include" data="extensions/*.xml"/>
+
     <extension name="enum">
       <condition field="destination_number" expression="^(.*)$">
-	<action application="enum" data="$1"/>
-	<action application="bridge" data="${enum_auto_route}"/>
+	<action application="transfer" data="$1 enum"/>
       </condition>
     </extension>
     

Added: freeswitch/trunk/conf/dialplan/extensions/pulver.com.noload
==============================================================================
--- (empty file)
+++ freeswitch/trunk/conf/dialplan/extensions/pulver.com.noload	Mon Dec 10 13:03:16 2007
@@ -0,0 +1,7 @@
+<include>
+  <extension name="pulver.com">
+    <condition field="destination_number" expression="^(1393.*)$|$">
+      <action application="bridge" data="sofia/gateway/fwd.pulver.com/$1"/>
+    </condition>
+  </extension>
+</include>

Added: freeswitch/trunk/conf/dialplan/extensions/sipphone.com.noload
==============================================================================
--- (empty file)
+++ freeswitch/trunk/conf/dialplan/extensions/sipphone.com.noload	Mon Dec 10 13:03:16 2007
@@ -0,0 +1,7 @@
+<include>
+  <extension name="sipphone.com">
+    <condition field="destination_number" expression="^(1222.*)$|^(1747.*)$">
+      <action application="bridge" data="sofia/gateway/proxy01.sipphone.com/$1"/>
+    </condition>
+  </extension>
+</include>



More information about the Freeswitch-svn mailing list