Try this ^1?(\d{10})$ and this sofia/gateway/flowroute/flowrouteAccount#1$1 /b On May 11, 2009, at 4:38 PM, Lars Zeb wrote:
in conf/dialplan/default/02_long_distance.xml: <!-- Dial any 10 digit number (2223334444) or 1+10 number (12223334444) here --> <extension name="Long Distance - flowroute"> <condition field="destination_number" expression="^(1{0,1}\d{10}) $"> <action application="set" data="effective_caller_id_number=10000000000"/> <!-- If your provider does not provide ringback (180 or 183) you may simulate ringback by uncommenting the following line. --> <!-- action application="ringback" /--> <action application="bridge" data="sofia/gateway/flowroute/ flowrouteAccount#$1"/> </condition> </extension>
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com