using master branch, if failure route is entered because fr_timer expires, $rs is null. is this intentional or a bug?
-- juha
Hello,
On 4/19/10 4:51 PM, Juha Heinanen wrote:
using master branch, if failure route is entered because fr_timer expires, $rs is null. is this intentional or a bug?
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().
Cheers, Daniel
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?
-- juha
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 writes:
it is one: http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:3.0.x#t_reply_code
in tmx module.
thanks, i had somehow missed it.
-- juha
On Apr 19, 2010 at 17:47, Daniel-Constantin Mierla miconda@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