Thanks Both Fred/Juha

System is in production when i have a "free slot" i will check repeating each rule with lower priority. I think that would work as i expect

Thanks for your tips guys!

Have a nice week

Alberto

2016-05-06 13:44 GMT+02:00 Juha Heinanen <jh@tutpro.com>:
Alberto Sagredo writes:
>
> I do not know if its enough to add under same lcr_id or its better to add
> with different one and add several lcr_rule and lcr_rule_target
>
> Acordding to next_gw() function, what is better to be used? In my case. a
> primary providers is used and only a backup one for the momment.

If your rules would be the same for both, then you can add a backup gw
to each rule with lower priority.  You can also use defunct_gw()
function to make failing gws inactive for a period.

If the rules are not the same, then in failure route you would need to
call load_gws() with another lcr id.

-- Juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users