[SR-Users] How to get cause from reason header?

Denys Pozniak denys.pozniak at gmail.com
Fri May 8 20:42:23 CEST 2020


Hello!

Did you try Parameters List Transformations?
https://www.kamailio.org/wiki/cookbooks/devel/transformations#parameters_list_transformations


пт, 8 мая 2020 г. в 19:32, Luis Rojas G. <luis.rojas at sixbell.com>:

> Hello,
>
> I am sure that this is very easy to do, but I have been googling and I
> can't find a way.
>
> Having a Reason header, for instance :
>
> Reason: SIP;cause=Some_Cause;text="Some_text"
>
> How can I get the value of "Some_Cause"? I need to compare it to some
> specific numeric values...
>
> Thanks in advance,
>
> Luis
>
> --
> Luis Rojas
> Software Architect
> Sixbell
> Los Leones 1200
> Providencia
> Santiago, Chile
> Phone: (+56-2) 22001288
> mailto:luis.rojas at sixbell.com
> http://www.sixbell.com
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 

BR,
Denys Pozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200508/c8c41baf/attachment.html>


More information about the sr-users mailing list