<div dir="ltr">On Wed, Mar 27, 2013 at 1:31 AM, Erwan Hermouet <span dir="ltr">&lt;<a href="mailto:ehermouet@bluetel.fr" target="_blank">ehermouet@bluetel.fr</a>&gt;</span> wrote:<div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><p class="" style="text-autospace:none">
<span style="font-size:9pt;font-family:&#39;Courier New&#39;">    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$|^(12345)$&quot;&gt;</span></p></div></blockquote><div><br></div><div style>
The problem with that condition is you have 2 expressions in parenthesis.  Thus, if the destination number is from 1000 to 1019, it will set $1 to the number.  However, if the destination number is 12345, then it will set $2 to that number, and leave $1 unset.</div>
<div style><br></div><div style>You can fix that problem by changing it to this:</div><div style><p class=""><span style="font-size:9pt;font-family:&#39;Courier New&#39;">    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9]|12345)$&quot;&gt;<u></u><u></u></span></p>
<div><br></div></div><div style>-- </div><div style>Steve</div></div></div></div>