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

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

Reply via email to