[SR-Users] Kamailio- Redirect message 300 with LCR reroute

Juha Heinanen jh at tutpro.com
Thu Nov 21 06:14:38 CET 2013

willf1976 writes:

> We are trying to set up route advance for lcr in our kamailio config so that
> when 1 gateway fails the next one is attempted.
> Seems like we are tackling the same issue. Did you ever find a satisfactory
> way to set that up so they run in the right order?

if you are using lcr module, in lcr_rule_target column you set priority
field value according to your needs.  then first next_gw() call will
give you the gw pointed to by larger priority value rule target and
second with smaller one.

-- juha

More information about the sr-users mailing list