diff --git a/debian/patches/series b/debian/patches/series index 64537f3b7..33cbf4a8f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -15,7 +15,6 @@ sipwise/fix_lcr_rate_wrong_id.patch sipwise/add_tcap_module.patch sipwise/add_presence_dfks_module.patch sipwise/presence_dfks_null_ptr_fixes.patch -# ** https://github.com/kamailio/kamailio/pull/2156 sipwise/add_pv_headers_module.patch ## General Patches sipwise/usrloc_dbro.patch @@ -66,6 +65,11 @@ upstream/cfgt-fix-implicit-declaration-of-strcasestr.patch upstream/core-str-helper-macro-to-set-ending-zero-with-backup.patch upstream/core-str-fixed-wrong-undo-ed-version-of-STR_ZTOV-mac.patch upstream/jansson-use-the-core-macros-for-ending-string-value-.patch +upstream/core-xavi-api-like-xavp-but-with-insensitive-case-na.patch +upstream/pv-define-xavi-types.patch +upstream/core-receive-reset-xavi-list-after-message-processin.patch +upstream/tm-process-xavi-list-in-transaction-contexts.patch +upstream/pv-xavi-.-config-variables-implementation.patch ## backport from kamailio trunk (5.3) # ### relevant for upstream diff --git a/debian/patches/sipwise/add_pv_headers_module.patch b/debian/patches/sipwise/add_pv_headers_module.patch index 2c701991e..7c9709682 100644 --- a/debian/patches/sipwise/add_pv_headers_module.patch +++ b/debian/patches/sipwise/add_pv_headers_module.patch @@ -5,25 +5,25 @@ Subject: add_pv_headers_module --- src/Makefile.groups | 3 +- src/modules/pv_headers/Makefile | 12 + - src/modules/pv_headers/README | 337 ++++++ + src/modules/pv_headers/README | 337 +++++++ src/modules/pv_headers/doc/Makefile | 4 + src/modules/pv_headers/doc/functions.xml | 131 +++ src/modules/pv_headers/doc/params.xml | 186 ++++ src/modules/pv_headers/doc/pv_headers.xml | 39 + - src/modules/pv_headers/doc/pv_headers_admin.xml | 116 ++ - src/modules/pv_headers/pv_headers.c | 519 +++++++++ - src/modules/pv_headers/pv_headers.h | 57 + - src/modules/pv_headers/pvh_func.c | 360 ++++++ + src/modules/pv_headers/doc/pv_headers_admin.xml | 116 +++ + src/modules/pv_headers/pv_headers.c | 548 +++++++++++ + src/modules/pv_headers/pv_headers.h | 57 ++ + src/modules/pv_headers/pvh_func.c | 360 +++++++ src/modules/pv_headers/pvh_func.h | 42 + src/modules/pv_headers/pvh_hash.c | 134 +++ src/modules/pv_headers/pvh_hash.h | 41 + - src/modules/pv_headers/pvh_hdr.c | 295 +++++ + src/modules/pv_headers/pvh_hdr.c | 295 ++++++ src/modules/pv_headers/pvh_hdr.h | 47 + src/modules/pv_headers/pvh_str.c | 146 +++ src/modules/pv_headers/pvh_str.h | 40 + - src/modules/pv_headers/pvh_xavp.c | 1355 +++++++++++++++++++++++ - src/modules/pv_headers/pvh_xavp.h | 69 ++ - 20 files changed, 3932 insertions(+), 1 deletion(-) + src/modules/pv_headers/pvh_xavp.c | 1173 +++++++++++++++++++++++ + src/modules/pv_headers/pvh_xavp.h | 63 ++ + 20 files changed, 3773 insertions(+), 1 deletion(-) create mode 100644 src/modules/pv_headers/Makefile create mode 100644 src/modules/pv_headers/README create mode 100644 src/modules/pv_headers/doc/Makefile @@ -78,7 +78,7 @@ index 0000000..42b80dd +include ../../Makefile.modules diff --git a/src/modules/pv_headers/README b/src/modules/pv_headers/README new file mode 100644 -index 0000000..1967529 +index 0000000..f637eb2 --- /dev/null +++ b/src/modules/pv_headers/README @@ -0,0 +1,337 @@ @@ -111,7 +111,7 @@ index 0000000..1967529 + + 3. Parameters + -+ 3.1. xavp_name (string) ++ 3.1. xavi_name (string) + 3.2. header_value_size (int) + 3.3. header_collect_flag (int) + 3.4. header_apply_flag (int) @@ -133,7 +133,7 @@ index 0000000..1967529 + + List of Examples + -+ 1.1. Set xavp_name parameter ++ 1.1. Set xavi_name parameter + 1.2. Set header_value_size parameter + 1.3. Set header_collect_flag parameter + 1.4. Set header_apply_flag parameter @@ -153,7 +153,7 @@ index 0000000..1967529 + + 3. Parameters + -+ 3.1. xavp_name (string) ++ 3.1. xavi_name (string) + 3.2. header_value_size (int) + 3.3. header_collect_flag (int) + 3.4. header_apply_flag (int) @@ -176,7 +176,7 @@ index 0000000..1967529 +1. Overview + + The main goal of the module is to offload the intermediate header -+ processing into the XAVP dynamic container as well as provide with high ++ processing into the XAVI dynamic container as well as provide with high + level methods and pseudovariables to simplify SIP message header + modifications. + @@ -200,7 +200,7 @@ index 0000000..1967529 + +3. Parameters + -+ 3.1. xavp_name (string) ++ 3.1. xavi_name (string) + 3.2. header_value_size (int) + 3.3. header_collect_flag (int) + 3.4. header_apply_flag (int) @@ -208,19 +208,19 @@ index 0000000..1967529 + 3.6. split_headers (string) + 3.7. auto_msg (int) + -+3.1. xavp_name (string) ++3.1. xavi_name (string) + -+ Name of the XAVP there the collected headers are stored. ++ Name of the XAVI where the collected headers are stored. + + Default value is "headers". + -+ Example 1.1. Set xavp_name parameter ++ Example 1.1. Set xavi_name parameter +... -+modparam("pv_headers", "xavp_name", "pvh") ++modparam("pv_headers", "xavi_name", "headers") +... + -+ Result: $xavp(headers[0]=>From) $xavp(headers[0]=>To) -+ $xavp(headers[0]=>Call-ID) ++ Result: $xavi(headers[0]=>From) $xavi(headers[0]=>To) ++ $xavi(headers[0]=>Call-ID) + +3.2. header_value_size (int) + @@ -312,7 +312,7 @@ index 0000000..1967529 + + Example 1.7. Set auto_msg parameter +... -+modparam("pvh", "auto_msg", 1) ++modparam("pv_headers", "auto_msg", 1) +... + +4. Functions @@ -568,7 +568,7 @@ index 0000000..ef7f133 + diff --git a/src/modules/pv_headers/doc/params.xml b/src/modules/pv_headers/doc/params.xml new file mode 100644 -index 0000000..83e74d6 +index 0000000..2bc6ddc --- /dev/null +++ b/src/modules/pv_headers/doc/params.xml @@ -0,0 +1,186 @@ @@ -587,10 +587,10 @@ index 0000000..83e74d6 + + +