[Freeswitch-svn] [commit] r5865 - freeswitch/trunk/conf

Freeswitch SVN brian at freeswitch.org
Fri Oct 12 19:59:23 EDT 2007


Author: brian
Date: Fri Oct 12 19:59:23 2007
New Revision: 5865

Modified:
   freeswitch/trunk/conf/default_context.xml

Log:
Add FreeNUM ISN lookup example, Thanks [intra]lanman

Modified: freeswitch/trunk/conf/default_context.xml
==============================================================================
--- freeswitch/trunk/conf/default_context.xml	(original)
+++ freeswitch/trunk/conf/default_context.xml	Fri Oct 12 19:59:23 2007
@@ -50,8 +50,6 @@
     </condition>
   </extension>
 
-
-
   <extension name="9192">
     <condition field="destination_number" expression="^9192$">
       <!-- Maintain Buffer of 128k of audio (default is 64k) -->
@@ -61,6 +59,14 @@
     </condition>
   </extension>
 
+  <!-- FreeNUM.org ISN Lookups -->
+  <extension name="ISN_Lookup">
+    <condition field="destination_number" expression="^([0-9]*)\*([0-9]*)$">
+      <action application="enum" data="$1 $2.freenum.org"/>
+      <action application="log" data="${enum_auto_route}"/>
+      <action application="bridge" data="${enum_auto_route}"/>
+    </condition>
+  </extension>
 
   <!-- Example extension for require auth per-call. -->
   <extension name="9191">



More information about the Freeswitch-svn mailing list