[Freeswitch-trunk] [commit] r6980 - freeswitch/trunk/conf/dialplan

Freeswitch SVN brian at freeswitch.org
Wed Dec 26 00:26:16 EST 2007


Author: brian
Date: Wed Dec 26 00:26:16 2007
New Revision: 6980

Modified:
   freeswitch/trunk/conf/dialplan/default.xml

Log:
This does work.

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Wed Dec 26 00:26:16 2007
@@ -24,15 +24,16 @@
     </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"/>



More information about the Freeswitch-trunk mailing list