[SR-Users] Issue with LCR an failover routers
Juha Heinanen
jh at tutpro.com
Mon May 30 20:17:53 CEST 2016
Alberto Sagredo writes:
> Actually im using
...
> if(!next_gw()) {
>
> xlog("No hay GW de Backup");
>
> sl_send_reply("503", "Service not available - No gateway");
>
> exit;
>
> } else {
>
> xlog("Enviado por primer GW\n");
>
> xlog("ruri_user_avp: '$avp(i:500)'\n");
>
> xlog("To URI after next_gw: $tu\n");
>
> xlog("Request URI: $rU\n");
>
>
> t_on_failure("FAILBACK");
>
> }
you should call t_relay() if next_gw() succeeds.
-- juha
More information about the sr-users
mailing list