Hello Juha..
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.
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?
Thanks
Ricardo.-
-----Mensaje original-----
De: sr-users-bounces(a)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 2:26
Para: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users
Mailing List
Asunto: [SR-Users] LCR defunct_gw use
Ricardo Martinez writes:
Can someone please explain to me hoy can i use the
command “defunct_gw()”
is
used to mark a gw down?.
as the README tells, the function defuncts the gateway of previous
next_gw() call.
I understand that the gateway is marked down for
period of time with the
command, but how can I check if a gateway is down?. Can someone show me
this with an example in the configuration?
you activate failure route before calling t_relay() and then in the
failure route you can call defunct_gw() depending on the response
code.
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users