]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
This does work.
authorBrian West <brian@freeswitch.org>
Wed, 26 Dec 2007 05:26:16 +0000 (05:26 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 26 Dec 2007 05:26:16 +0000 (05:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6980 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml

index 10fd624d3cf642780238233f9135c8c81c151ed7..46b112ab64232c86bcd7035427c084794c5c7331 100644 (file)
     </extension>
 
     <extension name="global" continue="true">
-      <condition field="${network_addr}" expression="false" break="never">
+      <condition field="${network_addr}" expression="^$" break="never">
        <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>
       <!-- 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="false" break="never">
+      <condition field="${numbering_plan}" expression="^$" break="never">
        <action application="set_user" data="default@${domain}"/>
+       <anti-action application="set" data="blank_numbering_plan=NO"/> 
       </condition>
       <condition>
        <action application="info"/>