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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2020-10-14T16:13:19+02:00

pv: docs - reflect use of xavp fields for tokens by xavp_slist_explode()

---

Modified: src/modules/pv/doc/pv_admin.xml

---

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

---

diff --git a/src/modules/pv/doc/pv_admin.xml b/src/modules/pv/doc/pv_admin.xml
index 3967b38234..61df878c3a 100644
--- a/src/modules/pv/doc/pv_admin.xml
+++ b/src/modules/pv/doc/pv_admin.xml
@@ -438,7 +438,8 @@ xavp_params_implode("x", "$var(out)");
                                the white spaces around the value.
                        </para>
                        <para>
-                               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.
                        </para>
                        <para>
                                The values are stored as string type.
@@ -452,10 +453,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]=&gt;v[0]) = "a";
+#    $xavp(x[0]=&gt;v[1]) = "b";
+#    $xavp(x[0]=&gt;v[2]) = "c";
+#    $xavp(x[0]=&gt;v[3]) = "d";
 ...
                                </programlisting>
                        </example>


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to