[Serdev] [Patch] Ability to check negative reply code in the
failure_route
Juha Heinanen
jh at tutpro.com
Tue Mar 8 17:26:23 UTC 2005
Atle Samuelsen writes:
> Lemme guess, your setting a flag in your reply_route, and then reading
> it in the failure_route?
>
> That works, for some reason, its a hack , but it works..
>
> the only drawback with this is when you have multiple downstream
> elements and you want to do a prioritation of them.
i don't see a need to set any flags if (as i told) you set fr_timer to a
small value before t_relay to a gw. if you get back any provisional
response, fr_timer does not expire and if you don't, it expires and you
know that your gw was dead.
-- juha
More information about the Serdev
mailing list