[sr-dev] git:5.4:0ddb019f: pv_headers: fix detection of split marker
Victor Seva
linuxmaniac at torreviejawireless.org
Thu Mar 11 13:45:21 CET 2021
Module: kamailio
Branch: 5.4
Commit: 0ddb019f3d80e4bef2d00a504dbe1baa6b982bba
URL: https://github.com/kamailio/kamailio/commit/0ddb019f3d80e4bef2d00a504dbe1baa6b982bba
Author: Victor Seva <vseva at sipwise.com>
Committer: Victor Seva <linuxmaniac at 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 at 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/0ddb019f3d80e4bef2d00a504dbe1baa6b982bba.diff
Patch: https://github.com/kamailio/kamailio/commit/0ddb019f3d80e4bef2d00a504dbe1baa6b982bba.patch
More information about the sr-dev
mailing list