]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
what was I thinking
authorBrian West <brian@freeswitch.org>
Fri, 21 Dec 2007 05:01:04 +0000 (05:01 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 21 Dec 2007 05:01:04 +0000 (05:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6930 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml

index 59d8fdc3ad1b24af6ab6b3da1b430feb61b40da7..3e9e6f18c12d0418609e6fbf04b4c58279d3060c 100644 (file)
     </extension>
 
     <extension name="global" continue="true">
-      <condition field="${network_addr}" expression="^">
+      <condition field="${network_addr}" expression="false">
        <action application="set" data="use_profile=${cond(${is_lan_addr($${local_ip_v4})} == yes ? nat : default)}"/>
        <anti-action application="set" data="use_profile=${cond(${is_lan_addr(${network_addr})} == yes ? nat : default)}"/>
       </condition>
+    </extension>
+    
+    <extension name="defaults" continue="true">
       <!-- This will setup some variables if the user isn't authenticated.
           numbering_plan is required for the demo to function properly. 
       -->
-      <condition field="${numbering_plan}" expression="^">
+      <condition field="${numbering_plan}" expression="false">
        <action application="set_user" data="default@${domain}"/>
       </condition>
+    </extension>
+    
+    <extension name="info" continue="true">
       <condition>
        <action application="info"/>
        <action application="db" data="insert/spymap/${caller_id_number}/${uuid}"/>
     </extension>
 
     <!--
-       start a dynamic conference with the settings of the 
-       "default" conference profile in conference.conf.xml
+       start a dynamic conference with the settings of th      "default" conference profile in conference.conf.xml
     -->                                                                                                                                                       
     <extension name="conferences">                                                                                                                           
       <condition field="destination_number" expression="^(3\d{3})$">