[OpenSIPS-Users] Dynamic Routing timerec

Wilmar Campos wilmar.campos at gmail.com
Fri Sep 12 17:27:46 CEST 2014


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 <andreidatcu at opensips.org>
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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140912/65f65e88/attachment.htm>


More information about the Users mailing list