[Freeswitch-users] Static Dial plan

Andre andretodd at verizon.net
Sat Aug 30 02:12:46 MSD 2014

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
  <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 at xxx.xxx.xxxx"/>
This is what I see in the debug screen
Dialplan: sofia/internal/1000 at Regex (FAIL) [public_extensions]
tination_number(202543015551212) =~ /^(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1000 at parsing [public->public_did]
Dialplan: sofia/internal/1000 at Regex (FAIL) [public_did]
n_number(202543015551212) =~ /^(5551212)$/ break=on-false
2014-08-29 18:02:57.882447 [DEBUG] switch_core_state_machine.c:167
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140829/209e9086/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list