<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        margin-bottom:5.75pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><pre><span style='color:#1F497D'>Hi, I&#8217;m working on testing some things with FreeSWITCH and I&#8217;m creating a static dial string however it doesn&#8217;t seem to be working.<o:p></o:p></span></pre><pre><span style='color:#1F497D'>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<o:p></o:p></span></pre><pre><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></pre><pre><span style='color:#1F497D'>&lt;include&gt;<o:p></o:p></span></pre><pre><span style='color:#1F497D'>&nbsp; &lt;extension name=&quot;20254&quot;&gt;<o:p></o:p></span></pre><pre><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^20254&quot;&gt;<o:p></o:p></span></pre><pre><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></pre><pre><span style='color:#1F497D'>&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<o:p></o:p></span></pre><pre><span style='color:#1F497D'>&lt;action application=&quot;set&quot; data=&quot;bypass_media=true&quot;/&gt;<o:p></o:p></span></pre><pre><span style='color:#1F497D'>&lt;action application=&quot;bridge&quot; data=&quot;sofia/${use_profile}/$0@xxx.xxx.xxxx&quot;/&gt;<o:p></o:p></span></pre><pre><span style='color:#1F497D'>&nbsp;&nbsp; <o:p></o:p></span></pre><pre><span style='color:#1F497D'>&nbsp;&lt;/condition&gt;<o:p></o:p></span></pre><pre><span style='color:#1F497D'>&nbsp; &lt;/extension<o:p></o:p></span></pre><pre><span style='color:#1F497D'>&lt;/include&gt;<o:p></o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'><o:p>&nbsp;</o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'><o:p>&nbsp;</o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>This is what I see in the debug screen<o:p></o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'><o:p>&nbsp;</o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>Dialplan: sofia/internal/1000@192.168.1.111 Regex (FAIL) [public_extensions] des<o:p></o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>tination_number(202543015551212) =~ /^(10[01][0-9])$/ break=on-false<o:p></o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>Dialplan: sofia/internal/1000@192.168.1.111 parsing [public-&gt;public_did] continu<o:p></o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>e=false<o:p></o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>Dialplan: sofia/internal/1000@192.168.1.111 Regex (FAIL) [public_did] destinatio<o:p></o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>n_number(202543015551212) =~ /^(5551212)$/ break=on-false<o:p></o:p></span></pre><pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>2014-08-29 18:02:57.882447 [DEBUG] switch_core_state_machine.c:167 (sofia/intern<o:p></o:p></span></pre></div></body></html>