Hi, Swapping the priority works the way you want ? I have a feeling this makes sense (just like an ACL or firewall rules) ^888444* should get called before ^888* .
On Thu, Jul 16, 2015 at 5:47 PM, Ali Pey <[email protected]> wrote: > Hello, > > Let's say I have the two following rules in my dialplan table: > > Rule 1: > - match_op = 1 (regexp) > - Priority=1 > - match_exp = "^888[0-9]{7}" > > Rule 2: > - match_op = 1 (regexp) > - Priority=2 > - match_exp = "^888444[0-9]{4}" > > > If I use dp_translate for 8882221234, it matches rule 1 and that's good. > If I use dp_translate for 8884441234, it still matches rule 1 and that's > not good. It should match rule 2. > > > Is this a bug or expected behaviour? > > Is there a way I can work around this? > > Thanks, > Ali Pey > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
