But in that case, if F=fallback is ON, it will still try the older route. I guess the only way to eliminate the old one is to add to the timerec the UNTIL, like this the rule runs until an specific date.
I am correct? On Fri, Sep 12, 2014 at 9:24 AM, Andrei Datcu <[email protected]> wrote: > As far as time-rec is concerned and older rule will always match (that is > if > specified like in your example, i.e no <until> or <bound of recurrence>) > > If you want the newer rule to be picked, you'll have to define it with a > higher > priority than the older one. Quoting from > http://www.opensips.org/html/docs/modules/1.12.x/drouting.html#id293639 > > "within the set of rules is applied the time criteria, and the rule which > has > the highest priority and matches the time criteria is selected to drive the > routing. " > > > In your case both rules will pass the so-called "time criteria". So the one > with the highest priority will be applied. > > _______________________________________________ > 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
