[sr-dev] git:master:7a3f71e7: pv_headers: Add support to remove a specific value from a header

Victor Seva linuxmaniac at torreviejawireless.org
Mon Apr 11 15:10:16 CEST 2022


Module: kamailio
Branch: master
Commit: 7a3f71e7ce6b63fe1c32853c30d785bc9c1f2236
URL: https://github.com/kamailio/kamailio/commit/7a3f71e7ce6b63fe1c32853c30d785bc9c1f2236

Author: Fabricio Santolin da Silva <fabricio.santolin-da-silva at al-enterprise.com>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2022-04-11T15:10:11+02:00

pv_headers: Add support to remove a specific value from a header

- To be used with headers containing values separated by commas
- pvh_header_param_exists() check if the value is present to a given header
- pvh_remove_header_param() remove the value from the given header or the entire header if no other value is present

---

Modified: src/modules/pv_headers/doc/functions.xml
Modified: src/modules/pv_headers/doc/pv_headers.xml
Modified: src/modules/pv_headers/pv_headers.c
Modified: src/modules/pv_headers/pvh_func.c
Modified: src/modules/pv_headers/pvh_func.h

---

Diff:  https://github.com/kamailio/kamailio/commit/7a3f71e7ce6b63fe1c32853c30d785bc9c1f2236.diff
Patch: https://github.com/kamailio/kamailio/commit/7a3f71e7ce6b63fe1c32853c30d785bc9c1f2236.patch




More information about the sr-dev mailing list