[SR-Users] Re: hfl not working as well

2025-06-14 Thread ale Gural via sr-users
; >> Henning >> >> >> >> *From:* ale Gural via sr-users >> *Sent:* Friday, June 13, 2025 10:57 AM >> *To:* mico...@gmail.com >> *Cc:* Kamailio (SER) - Users Mailing List ; >> ale Gural >> *Subject:* [SR-Users] Re: hfl not working as well >

[SR-Users] Re: hfl not working as well

2025-06-13 Thread Daniel-Constantin Mierla via sr-users
>   > > Henning > >   > > *From:*ale Gural via sr-users > *Sent:* Friday, June 13, 2025 10:57 AM > *To:* mico...@gmail.com > *Cc:* Kamailio (SER) - Users Mailing List > ; ale Gural > *Subject:* [SR-Users] Re: hfl not working as well &

[SR-Users] Re: hfl not working as well

2025-06-13 Thread ale Gural via sr-users
t; *To:* mico...@gmail.com > *Cc:* Kamailio (SER) - Users Mailing List ; > ale Gural > *Subject:* [SR-Users] Re: hfl not working as well > > > > Hi, > > It seems that didn't compile the new file, added in the parse_diversion.c > file some log, but not show it in kama

[SR-Users] Re: hfl not working as well

2025-06-13 Thread Henning Westerholt via sr-users
-users Sent: Friday, June 13, 2025 10:57 AM To: mico...@gmail.com Cc: Kamailio (SER) - Users Mailing List ; ale Gural Subject: [SR-Users] Re: hfl not working as well Hi, It seems that didn't compile the new file, added in the parse_diversion.c file some log, but not show it in kamailio.log

[SR-Users] Re: hfl not working as well

2025-06-13 Thread ale Gural via sr-users
Hi, It seems that didn't compile the new file, added in the parse_diversion.c file some log, but not show it in kamailio.log after compile got: version: kamailio 5.8.6 (x86_64/linux) fb71db flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMA

[SR-Users] Re: hfl not working as well

2025-06-13 Thread Daniel-Constantin Mierla via sr-users
I tested during development and worked fine with your example header. Do try with the development version to validate it or not, send kamailio -v if still fails along with the entire sip message used during your tests. Cheers, Daniel On 12.06.25 19:37, ale Gural wrote: > Thanks for your quick res

[SR-Users] Re: hfl not working as well

2025-06-12 Thread ale Gural via sr-users
Thanks for your quick response, I replaced the new file parser_diversion.c in /src/core/parser/ and compiler again, same result. Thanks! On Thu, Jun 12, 2025 at 6:48 PM Daniel-Constantin Mierla wrote: > Can you try with latest git master branch? I pushed a commit trying to fix > it, the problem

[SR-Users] Re: hfl not working as well

2025-06-12 Thread Daniel-Constantin Mierla via sr-users
Can you try with latest git master branch? I pushed a commit trying to fix it, the problem was in the way the parser computed the length of the Diversion value, not considering quoted values. Cheers, Daniel On 12.06.25 11:25, ale Gural via sr-users wrote: > > > ale Gural > > > 12:24 

[SR-Users] Re: hfl not working as well

2025-06-12 Thread ale Gural via sr-users
ale Gural 12:24 PM (0 minutes ago) to Benoit I am using KAMAILIO 5.8.6, Diversion:"Ale Gural";reason=unconditional;privacy=off;counter=1;user-id=" a...@alegural.com" when I use the $(hfl(Diversion)[0]) I got Diversion:"Ale Gural";reason=unconditional;privacy=off;counter=1;user-id=" a...@alegural.co

[SR-Users] Re: hfl not working as well

2025-06-12 Thread Benoit Panizzon via sr-users
Hi > Does anyone know why using $(hfl(Diversion)[0]) cuts off the last part of > the value, while hdr doesn't? $hfl tries to de-serialize comma (and probably semicolon) separated one line header. So maybe it stumbles over something which causes it to believe the last part belongs to another heade