Ok, T_rpl(hdr(reason)) did the thing, however thanks!
On Fri, Dec 23, 2011 at 2:01 PM, Mino Haluz <mino.haluz(a)gmail.com> wrote:
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.
On Fri, Dec 23, 2011 at 12:35 PM, Daniel-Constantin Mierla <
miconda(a)gmail.com> wrote:
Hello,
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..
you can test it with a regular expression via t_check_status(...) from tm
module or get it in a config variable:
http://www.kamailio.org/wiki/**cookbooks/3.2.x/**
pseudovariables#t_reply_code<http://www.kamailio.org/wiki/cookbooks/3.2.…
Cheers,
Daniel
--
Daniel-Constantin Mierla --
http://www.asipto.com
http://linkedin.com/in/miconda --
http://twitter.com/miconda