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 <
mico...@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.x/pseudovariables#t_reply_code>
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla -- http://www.asipto.com
> http://linkedin.com/in/miconda -- http://twitter.com/miconda
>
>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to