[sr-dev] $rs is null in failure route

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 19 17:47:06 CEST 2010



On 4/19/10 5:44 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>   >  that should be null even if it is a received message. It works for reply
>   >  handling (on reply route), in failure route you should use
>   >  t_check_status().
>
> i'm using t_check_status() in failure route, but that is not very useful
> (a big if statelement) for printing to syslog the status of the reply.
>
> any possibility to implement a new pv for this purpose?
>    
it is one:
http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:3.0.x#t_reply_code

in tmx module.

Cheers,
Daniel
> -- juha
>    

-- 
Daniel-Constantin Mierla * http://www.asipto.com/ * 
http://twitter.com/miconda * 
http://www.linkedin.com/in/danielconstantinmierla



More information about the sr-dev mailing list