[sr-dev] git:master:e3e6471b: modules: readme files regenerated - pv ... [skip ci]

Kamailio Dev kamailio.dev at kamailio.org
Wed Oct 14 16:16:40 CEST 2020


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

Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2020-10-14T16:16:29+02:00

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

---

Modified: src/modules/pv/README

---

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

---

diff --git a/src/modules/pv/README b/src/modules/pv/README
index 0af232eeda..a6702afa12 100644
--- a/src/modules/pv/README
+++ b/src/modules/pv/README
@@ -475,7 +475,8 @@ xavp_params_implode("x", "$var(out)");
    the tokens, the supported mode right now is 't', which trims the white
    spaces around the value.
 
-   The fourth parameter is the name of the xavp to hold the tokens.
+   The fourth parameter is the name of the root xavp to hold the tokens in
+   fields named 'v' and indexed from 0.
 
    The values are stored as string type.
 
@@ -485,10 +486,10 @@ xavp_params_implode("x", "$var(out)");
 ...
 xavp_slist_explode("a=b; c=d;", "=;", "t", "x");
 # results in:
-#    $xavp(x[0]) = "a";
-#    $xavp(x[1]) = "b";
-#    $xavp(x[2]) = "c";
-#    $xavp(x[3]) = "d";
+#    $xavp(x[0]=>v[0]) = "a";
+#    $xavp(x[0]=>v[1]) = "b";
+#    $xavp(x[0]=>v[2]) = "c";
+#    $xavp(x[0]=>v[3]) = "d";
 ...
 
 4.11.  xavp_child_seti(rname, cname, ival)




More information about the sr-dev mailing list