[Users] Failure route psuedo variables

Alan Crosswell alan at columbia.edu
Sun Oct 29 17:36:41 CET 2006


See my post of 10/27: 
http://openser.org/pipermail/users/2006-October/007441.html

Same question.  However, t_on_failure works for me.  I think you want to 
quote the code: t_check_status("487").

Let me know if you have any luck getting $rr or $rs to work.

I wonder if there's a way to have tm pass this info along in an avp?
/a

T.R. Missner wrote:
> Hello,
> 
> I have a failure route setup and armed using t_on_failure.
> When I attempt to interogate $rr or $rs in the failure route they are 
> always null.
> $rU is set which makes me wonder am I only able to access pseudo 
> variables for requests.
> 
> I would like to generate some specialized logging based on the status 
> code ( 487, 404 etc ) but $rs doesn't give me the status.
> 
> I also tried t_check_status(487) but it does not work even when it was a 
> 487 message that triggered the failure route.
> 
> Am I missing something?
> 
> Thanks
> 
> t.r.
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list