Thanks Juha. So please, can you clarify me one more thing?. This 408 response code is generated in the failure_route only?.... what if a gateway really answers a call with 408 because there was no answer from the client... this response is handled by the on_reply route , isn't?
Thanks Ricardo.-
-----Mensaje original----- De: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] En nombre de Juha Heinanen Enviado el: jueves, 31 de marzo de 2011 10:15 Para: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Asunto: Re: [SR-Users] LCR defunct_gw use
Ricardo Martinez writes:
Maybe I did not read the README file so well, but I can't find where it
says
that the defunct_gw() function defunct a gateway of previous next_gw() call.
well, it is sort of indirectly specified if you read what is said about defunct_gw_avp and lcr_id_avp, but i'll make it more explicit.
So, according to a response code I can mark a gateway down, but how can
I
mark a gateway down upon no response?, let's say that my gateway is
offline.
How can I check this status?
you set tm timers using t_set_fr() call before calling t_relay() and if there is no response, failure route will be called with 408 response code.
-- juha
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users