Re: [SR-Users] How to get Reason code from reply in failure_route

2011-12-23 Thread Mino Haluz
Ok, T_rpl(hdr(reason)) did the thing, however thanks! On Fri, Dec 23, 2011 at 2:01 PM, Mino Haluz 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, 2

Re: [SR-Users] How to get Reason code from reply in failure_route

2011-12-23 Thread Mino Haluz
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

Re: [SR-Users] How to get Reason code from reply in failure_route

2011-12-23 Thread Daniel-Constantin Mierla
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

[SR-Users] How to get Reason code from reply in failure_route

2011-12-23 Thread Mino Haluz
Hi, how can I get the reason code from reply in failure_route ? $hdr(reason) points to the INVITE request.. Thanks, Mino ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.or