]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
more tweaks
authorBrian West <brian@freeswitch.org>
Sat, 8 Dec 2007 19:31:53 +0000 (19:31 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 8 Dec 2007 19:31:53 +0000 (19:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6580 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/autoload_configs/enum.conf.xml
conf/dialplan/default.xml

index 664c9e5a6cc78916dc13cf6632fc9aa842f4eb25..3011bcdceb543e4a06e0a33c3b65bc7b0003c401 100644 (file)
@@ -6,7 +6,7 @@
   </settings>
 
   <routes>
-    <route service="E2U+SIP" regex="sip:(.*)" replace="sofia/$${sip_profile}/$1"/>
+    <route service="E2U+SIP" regex="sip:(.*)" replace="sofia/${use_profile}/$1"/>
     <route service="E2U+IAX2" regex="iax2:(.*)" replace="iax/$1"/>
     <route service="E2U+XMPP" regex="XMPP:(.*)" replace="dingaling/$${xmpp_server_profile}/$1"/>
   </routes>
index e0966e1d755d836fb89344defd5f923c08bf527e..fa7df160c8926ba2807ee84c7a8a2db2c28f5d77 100644 (file)
        <action application="fifo" data="default out nowait"/>
       </condition>
     </extension> 
-    
+    <!--
     <extension name="Localized_Dialplan">
       <condition field="${numbering_plan}" expression="^[[:alnum:]]+$"/>
       <condition field="${default_gateway}" expression="[[:alnum:]]"/>
        <action application="transfer" data="$1 XML ${numbering_plan}-Numbering-Plan"/>
       </condition>
     </extension>
-
-
-    <!-- 
-        this is a "catchall" extension that will match anything that's 
-        unmatched thus far.... uncomment and reloadxml to activate it
-    -->
-    <!--
-       <extension name="catchall">
-       <condition>
-       <action application="set" data="effective_caller_id_name=another noob"/>
-       <action application="bridge" data="sofia/$${domain}/888@conference.freeswitch.org"/>
-       </condition>
-       </extension>
     -->
+
+    <!-- Catchall ENUM -->
+    <extension name="enum">
+      <condition field="destination_number" expression="^(.*)$">
+       <action application="enum" data="$1"/>
+       <action application="bridge" data="${enum_auto_route}"/>
+      </condition>
+    </extension>
+    
   </context>
 </include>