浏览代码

modules: readme files regenerated - textops ... [skip ci]

Kamailio Dev 2 年之前
父节点
当前提交
06b1a35c72
共有 1 个文件被更改,包括 23 次插入0 次删除
  1. 23 0
      src/modules/textops/README

+ 23 - 0
src/modules/textops/README

@@ -104,6 +104,7 @@ Ovidiu Sas
               4.59. get_body_part_raw(content_type, opv)
               4.60. remove_body_part(content_type)
               4.61. regex_substring(itext, regexp, mindex, mcount, dpv)
+              4.62. via_param_rm(name, idx)
 
    2. Developer Guide
 
@@ -175,6 +176,7 @@ Ovidiu Sas
    1.60. get_body_part_raw usage
    1.61. remove_body_part usage
    1.62. _regex_substring usage
+   1.63. via_param_rm usage
 
 Chapter 1. Admin Guide
 
@@ -252,6 +254,7 @@ Chapter 1. Admin Guide
         4.59. get_body_part_raw(content_type, opv)
         4.60. remove_body_part(content_type)
         4.61. regex_substring(itext, regexp, mindex, mcount, dpv)
+        4.62. via_param_rm(name, idx)
 
 1. Overview
 
@@ -355,6 +358,7 @@ From: medabeda
    4.59. get_body_part_raw(content_type, opv)
    4.60. remove_body_part(content_type)
    4.61. regex_substring(itext, regexp, mindex, mcount, dpv)
+   4.62. via_param_rm(name, idx)
 
 4.1.  search(re)
 
@@ -1621,6 +1625,25 @@ msg_apply_changes();
         ----
         ...
 
+4.62.  via_param_rm(name, idx)
+
+   Remove parameter matching by name from Via body at the specified index.
+   The index starts from 0 (first Via body). Negative index counts from
+   the end of the list for Via header bodies (-1 is the last Via body).
+
+   Meaning of the parameters is as follows:
+     * name - name of the parameter
+     * idx - index of the Via body.
+
+   The parameters can also be variables.
+
+   This function can be used from ANY_ROUTE.
+
+   Example 1.63. via_param_rm usage
+...
+via_param_rm("p1", "0");
+...
+
 Chapter 2. Developer Guide
 
    Table of Contents