[Freeswitch-svn] [commit] r6955 - freeswitch/trunk/scripts/contrib/trixter/dialplan

Freeswitch SVN trixter at freeswitch.org
Fri Dec 21 20:33:38 EST 2007


Author: trixter
Date: Fri Dec 21 20:33:38 2007
New Revision: 6955

Modified:
   freeswitch/trunk/scripts/contrib/trixter/dialplan/localized.dialplan.xml

Log:
make it only work if the variables are set


Modified: freeswitch/trunk/scripts/contrib/trixter/dialplan/localized.dialplan.xml
==============================================================================
--- freeswitch/trunk/scripts/contrib/trixter/dialplan/localized.dialplan.xml	(original)
+++ freeswitch/trunk/scripts/contrib/trixter/dialplan/localized.dialplan.xml	Fri Dec 21 20:33:38 2007
@@ -1,5 +1,11 @@
 <context name="default">
   <extension name="localized-dialplan">
+    <!-- make sure that stuff is set or abort -->
+    <condition field="${default_emergency_number}" expression="^$" break="on-true"/>
+    <condition field="${default_international_regexp}" expression="^$" break="on-true"/>
+    <condition field="${default_domestic_regexp}" expression="^$" break="on-true"/>
+    <condition field="${default_local_regexp}" expression="^$" break="on-true"/>
+
     <!--
 	Emergency service - verify your provider really supports this
       -->



More information about the Freeswitch-svn mailing list