[OpenSIPS-Users] X-header extraction

Daniel Zanutti daniel.zanutti at gmail.com
Wed May 17 17:55:58 UTC 2023


Just get the variable $hdr(X-notice)

On Wed, May 17, 2023 at 2:25 PM nutxase via Users <users at lists.opensips.org>
wrote:

> Hi All,
>
> What is the best way to extract a custom X header from a sip message and
> log it as a variable
> example i receive X-notice:200 and i want to create a variable that with
> 200
>
> is that possible
>
> Sent with Proton Mail <https://proton.me/> secure email.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230517/6cb92cd7/attachment.html>


More information about the Users mailing list