[SR-Users] LCR defunct_gw use
Juha Heinanen
jh at tutpro.com
Thu Mar 31 15:14:44 CEST 2011
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
More information about the sr-users
mailing list