[Freeswitch-svn] [commit] r1644 - freeswitch/trunk/conf

mikej at freeswitch.org mikej at freeswitch.org
Sat Jun 17 13:09:25 EDT 2006


Author: mikej
Date: Sat Jun 17 13:09:25 2006
New Revision: 1644

Modified:
   freeswitch/trunk/conf/freeswitch.xml

Log:
fix toll free regex

Modified: freeswitch/trunk/conf/freeswitch.xml
==============================================================================
--- freeswitch/trunk/conf/freeswitch.xml	(original)
+++ freeswitch/trunk/conf/freeswitch.xml	Sat Jun 17 13:09:25 2006
@@ -275,7 +275,7 @@
     <!-- *NOTE* The special context name 'any' will match any context -->
     <context name="default">
 			<extension name="tollfree">
-      	<condition field="destination_number" expression="^(18[0{2}8{2}7{2}6{2}].*)$">
+      	<condition field="destination_number" expression="^(18[0{2}8{2}7{2}6{2}]\d{7})">
 					<action application="bridge" data="exosip/$1-freeswitch at voip.trxtel.com"/>
 				</condition>
 			</extension>



More information about the Freeswitch-svn mailing list