<div dir="ltr">Hello,<div><br></div><div>Let&#39;s say I have the two following rules in my dialplan table:</div><div><br></div><div>Rule 1:</div><div>- match_op = 1 (regexp)<br></div><div>- Priority=1</div><div>- match_exp = &quot;^888[0-9]{7}&quot;<br></div><div><br></div><div>Rule 2:</div><div><div>- match_op = 1 (regexp)<br></div><div>- Priority=2</div><div>- match_exp = &quot;^888444[0-9]{4}&quot;<br></div></div><div><br></div><div><br></div><div>If I use dp_translate for 8882221234, it matches rule 1 and that&#39;s good.</div><div>If I use dp_translate for 8884441234, it still matches rule 1 and that&#39;s not good. It should match rule 2.<br></div><div><br></div><div><br></div><div>Is this a bug or expected behaviour?</div><div><br></div><div>Is there a way I can work around this?</div><div><br></div><div>Thanks,</div><div>Ali Pey</div><div><br></div><div><br></div></div>