[sr-dev] git:master:473e051b: pv-headers: ignore skip-header config on clone_branch

Victor Seva linuxmaniac at torreviejawireless.org
Tue Mar 15 08:56:34 CET 2022


Module: kamailio
Branch: master
Commit: 473e051bef688d9e78bc4c28abebbedfffd1f549
URL: https://github.com/kamailio/kamailio/commit/473e051bef688d9e78bc4c28abebbedfffd1f549

Author: Sipwise Development Team <support at sipwise.com>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2022-03-15T08:54:47+01:00

pv-headers: ignore skip-header config on clone_branch

---

Modified: src/modules/pv_headers/pvh_xavp.c

---

Diff:  https://github.com/kamailio/kamailio/commit/473e051bef688d9e78bc4c28abebbedfffd1f549.diff
Patch: https://github.com/kamailio/kamailio/commit/473e051bef688d9e78bc4c28abebbedfffd1f549.patch

---

diff --git a/src/modules/pv_headers/pvh_xavp.c b/src/modules/pv_headers/pvh_xavp.c
index b8e4f92e61..8b2acbf08b 100644
--- 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 *msg, str *xname)
 	}
 
 	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)




More information about the sr-dev mailing list