Re: [OpenSIPS-Users] X-header extraction

2023-05-17 Thread Daniel Zanutti
Just get the variable $hdr(X-notice)

On Wed, May 17, 2023 at 2:25 PM nutxase via Users 
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  secure email.
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] X-header extraction

2023-05-17 Thread nutxase via Users
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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users