I meant the reason specified in the reply as : Reason: Q.850;cause=17 , that is not the SIP response code in fact. T_reply_code relates to the SIP response code.
Hello,you can test it with a regular expression via t_check_status(...) from tm module or get it in a config variable:
On 12/23/11 11:44 AM, Mino Haluz wrote:
Hi,
how can I get the reason code from reply in failure_route ? $hdr(reason) points to the INVITE request..
http://www.kamailio.org/wiki/cookbooks/3.2.x/pseudovariables#t_reply_code
Cheers,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda