[Users] Geting status and reason in failure_route

Taras Bendik taras at innovaworks.net
Sun Nov 13 04:18:55 CET 2005


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 





More information about the sr-users mailing list