Module: kamailio
Branch: master
Commit: e3e6471b114b2358c20cbc9a60ee745ac1bce162
URL:
https://github.com/kamailio/kamailio/commit/e3e6471b114b2358c20cbc9a60ee745…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)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/e3e6471b114b2358c20cbc9a60ee745…
Patch:
https://github.com/kamailio/kamailio/commit/e3e6471b114b2358c20cbc9a60ee745…
---
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)