Hi all,
$rr is a shortcut the the reply reason of the currently processed reply. But in failure route you do not process a reply, but a request (you re-process the original request, in case of failure).
so, none of the PVs related to reply info will work.
As already suggested, use $T_reply_code from TM - this PV will return the reply code of the winning reply (in the transaction engine).
regards, bogdan
Christian Schlatter wrote:
Douglas Garstang wrote:
Can someone tell me why the pseudo variable $rr (SIP reply reason) is not present in a failure_route?
If a call fails, this pseudo var contains the SIP response code, '404' for a Not Found for example. I would think that it should DEFINITELY be set in a failure route. OTHER pseudo variables are set in a failure route. Why not the SIP response code? This is probably the most important pseudo variable to have available in a failure route!
You can use t_check_status (http://www.openser.org/docs/modules/1.2.x/tm.html#AEN407) in failure_route, but I agree, it would be nice to have $rr working as well.
/Christian
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users