[Serdev] [Patch] Ability to check negative reply code in the
failure_route
Dan Pascu
dan at ag-projects.com
Tue Mar 8 18:02:45 UTC 2005
On Tuesday 08 March 2005 19:26, Juha Heinanen wrote:
> 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.
This implies that you know which of fr_timer or fr_inv_timer expired and
generated the 408 when you hit failure route.
>
> -- juha
--
Dan
More information about the Serdev
mailing list