Module: kamailio Branch: 5.4 Commit: 0ddb019f3d80e4bef2d00a504dbe1baa6b982bba URL: https://github.com/kamailio/kamailio/commit/0ddb019f3d80e4bef2d00a504dbe1baa...
Author: Victor Seva vseva@sipwise.com Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2021-03-11T13:44:07+01:00
pv_headers: fix detection of split marker
If we set Diversion in split_headers and we get a header like
"RULTEST, normalaa" sip:0046341355354340@whatever.net;user=phone;reason=unconditional
There was false detection of two Diversion headers.
Skip split marker between double quotes to avoid this
(cherry picked from commit c05c7133a5657a547a5b0ced0b0a05707b44bc06)
---
Modified: src/modules/pv_headers/pvh_func.c Modified: src/modules/pv_headers/pvh_hash.c Modified: src/modules/pv_headers/pvh_str.c Modified: src/modules/pv_headers/pvh_str.h
---
Diff: https://github.com/kamailio/kamailio/commit/0ddb019f3d80e4bef2d00a504dbe1baa... Patch: https://github.com/kamailio/kamailio/commit/0ddb019f3d80e4bef2d00a504dbe1baa...