Re: [SR-Users] Issue with LCR an failover routers

2016-05-30 Thread Alberto Sagredo
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

[SR-Users] Issue with LCR an failover routers

2016-05-30 Thread Juha Heinanen
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

[SR-Users] Issue with LCR an failover routers

2016-05-30 Thread Alberto Sagredo
Hi Im using LCR module and trying to handle 503/408 errors on provider to route to a second one. Actually im using if(!load_gws(1, $rU, $var(caller_uri))) { xlog("Gateways no disponibles"); sl_send_reply("500", "Server Internal Error - No gateway"); exit; } else { xlo