[Users] Geting status and reason in failure_route
Taras Bendik
taras at innovaworks.net
Mon Nov 14 03:42:34 CET 2005
Never mind, if I put the loging part in onreply_route I get what I need.
> Hi
>
> -----------------------------
> failure_route[1]
> {
> if (t_check_status("408|500|503"))
> {
> t_reply("503", "Sorry");
> }
> }
> -----------------------------
>
> Is it posible to add loging in failure route, so User get 503, but I get
> acctual info on what happen, because $rs $rr work only in onreply_route,
> but I need them or any equivalent in failure_route? So I can log exactly
> what happen.
>
> Regards,
> Taras
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list