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

Andrei Pelinescu-Onciul andrei at iptel.org
Tue Apr 20 08:28:09 CEST 2010


On Apr 19, 2010 at 17:47, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
> 
> 
> 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.

Or with selects:
@tm.uac.last_status

Andrei



More information about the sr-dev mailing list