On Wed, Mar 27, 2013 at 1:31 AM, Erwan Hermouet <ehermouet@bluetel.fr> wrote:

    <condition field="destination_number" expression="^(10[01][0-9])$|^(12345)$">


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.

You can fix that problem by changing it to this:

    <condition field="destination_number" expression="^(10[01][0-9]|12345)$">


-- 
Steve