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
mr10.3
Kirill Solomko 5 years ago
parent c57981d2c2
commit a7f52e731c

@ -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
#

@ -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)
Loading…
Cancel
Save