Hi, I’m working on testing some things with FreeSWITCH and I’m creating a static dial string however it doesn’t seem to be working.What is wrong with the below? I want anything with prefix 202254 to go to one IP but I need to send the prefix with it<include><extension name="20254"><condition field="destination_number" expression="^20254"><action application="set" data="hangup_after_bridge=true"/><action application="set" data="bypass_media=true"/><action application="bridge" data="sofia/${use_profile}/$0@xxx.xxx.xxxx"/></condition></extension</include>This is what I see in the debug screenDialplan: sofia/internal/1000@192.168.1.111 Regex (FAIL) [public_extensions] destination_number(202543015551212) =~ /^(10[01][0-9])$/ break=on-falseDialplan: sofia/internal/1000@192.168.1.111 parsing [public->public_did] continue=falseDialplan: sofia/internal/1000@192.168.1.111 Regex (FAIL) [public_did] destination_number(202543015551212) =~ /^(5551212)$/ break=on-false2014-08-29 18:02:57.882447 [DEBUG] switch_core_state_machine.c:167 (sofia/intern
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org