<div dir="ltr">But in that case, if F=fallback is ON, it will still try the older route.<div><br></div><div>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.</div><div><br></div><div>I am correct?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 12, 2014 at 9:24 AM, Andrei Datcu <span dir="ltr"><<a href="mailto:andreidatcu@opensips.org" target="_blank">andreidatcu@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As far as time-rec is concerned and older rule will always match (that is if<br>
specified like in your example, i.e no <until> or <bound of recurrence>)<br>
<br>
If you want the newer rule to be picked, you'll have to define it with a higher<br>
priority than the older one. Quoting from<br>
<a href="http://www.opensips.org/html/docs/modules/1.12.x/drouting.html#id293639" target="_blank">http://www.opensips.org/html/docs/modules/1.12.x/drouting.html#id293639</a><br>
<br>
"within the set of rules is applied the time criteria, and the rule which has<br>
the highest priority and matches the time criteria is selected to drive the<br>
routing. "<br>
<br>
<br>
In your case both rules will pass the so-called "time criteria". So the one<br>
with the highest priority will be applied.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>