[OpenSER-Users] SIP Response code in a Failure Route Block
Christian Schlatter
cs at unc.edu
Fri Nov 9 23:16:34 CET 2007
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
More information about the Users
mailing list