[Freeswitch-svn] [commit] r6929 - freeswitch/trunk/conf/dialplan

Freeswitch SVN brian at freeswitch.org
Thu Dec 20 23:44:32 EST 2007


Author: brian
Date: Thu Dec 20 23:44:32 2007
New Revision: 6929

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

Log:
more dialplan fixes

Modified: freeswitch/trunk/conf/dialplan/US.conf.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/US.conf.xml	(original)
+++ freeswitch/trunk/conf/dialplan/US.conf.xml	Thu Dec 20 23:44:32 2007
@@ -33,7 +33,7 @@
  -->
  <extension name="US_Local">
    <condition field="${default_area_code}" expression="\d{3}" continue="on-true">
-     <anti-action application="say" data="you must dial the area code to call this destination"/>
+     <anti-action application="speak" data="you must dial the area code to call this destination"/>
    </condition>
    <condition field="destination_number" expression="^([2-9]\d{6})$">
      <action application="set" data="continue_on_fail=true"/>

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Thu Dec 20 23:44:32 2007
@@ -24,14 +24,14 @@
     </extension>
 
     <extension name="global" continue="true">
-      <condition field="${network_addr}" expression="^$">
+      <condition field="${network_addr}" expression="^">
 	<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="^$">
+      <condition field="${numbering_plan}" expression="^">
 	<action application="set_user" data="default@${domain}"/>
       </condition>
       <condition>



More information about the Freeswitch-svn mailing list