[SR-Users] Issue with LCR an failover routers
Alberto Sagredo
alberto.sagredo at avanzada7.com
Mon May 30 20:56:42 CEST 2016
Yes Juha
Im using SIPOUT that is using RELAY route.. after LCR_OUT route i posted..
with next_gw()
Its when the 503 failure is detected when i have the issue mentioned.
As its not easy to catch, i have put some xlogs to see if i get where is
the 407 inbound routed..
Provider 1 -> not using auth
Provider 2 -> Requesting auth
Thanks
2016-05-30 20:17 GMT+02:00 Juha Heinanen <jh at tutpro.com>:
> 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
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160530/a5b5f276/attachment.html>
More information about the sr-users
mailing list