From a7f52e731caeb2cf90b4201a3f420a341e8ad437 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 30 Nov 2021 12:46:48 +0100 Subject: [PATCH] TT#136050 pv_headers clone branch ignore skip_headers * skip_headers is now ignored when a branch's xavps are cloned, this is needed to transparency that all headers that came with the SIP message are avaialable via $x_hdr, wheres pv_headers skips them when they are applied to the SIP message. Change-Id: I742b373a3a0d38c755aa5ecfb8683e172a4d52f2 --- debian/patches/series | 1 + .../pv-headers-clone-branch-ignore-skip-header.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 debian/patches/sipwise/pv-headers-clone-branch-ignore-skip-header.patch diff --git a/debian/patches/series b/debian/patches/series index 03aee5c69..d5ec8ce6a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -64,6 +64,7 @@ sipwise/lcr_improve_comparison_based_on_gws_port.patch # sipwise/tm_t_append_branch_by_contact.patch sipwise/tsilo_add_ts_append_by_contact.patch +sipwise/pv-headers-clone-branch-ignore-skip-header.patch upstream/permissions-don-t-remove-old-data-at-the-end-of-the-.patch upstream/permissions-trusted_cleanup_interval.patch # diff --git a/debian/patches/sipwise/pv-headers-clone-branch-ignore-skip-header.patch b/debian/patches/sipwise/pv-headers-clone-branch-ignore-skip-header.patch new file mode 100644 index 000000000..28d879357 --- /dev/null +++ b/debian/patches/sipwise/pv-headers-clone-branch-ignore-skip-header.patch @@ -0,0 +1,11 @@ +--- a/src/modules/pv_headers/pvh_xavp.c ++++ b/src/modules/pv_headers/pvh_xavp.c +@@ -515,8 +515,6 @@ int pvh_clone_branch_xavi(struct sip_msg + } + + do { +- if(pvh_skip_header(&sub->name)) +- continue; + if(sub->val.type == SR_XTYPE_DATA) + continue; + if(pvh_xavi_append_value(&sub->name, &sub->val, &br_xavi->val.v.xavp)