[sr-dev] git:master:e9a132af: pv: notes about dynamic parameters for xavp to var funtions

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 25 13:49:42 CEST 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-07-25T13:49:05+02:00

pv: notes about dynamic parameters for xavp to var funtions

---

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

---

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

---

diff --git a/src/modules/pv/doc/pv_admin.xml b/src/modules/pv/doc/pv_admin.xml
index 31929efa7f..bd5a7ab6f4 100644
--- a/src/modules/pv/doc/pv_admin.xml
+++ b/src/modules/pv/doc/pv_admin.xml
@@ -400,10 +400,16 @@ pv_xavp_print();
 				<function moreinfo="none">pv_var_to_xavp(varname, xname)</function>
 			</title>
 			<para>
-				Copy script variables values to a xavp.
+				Copy the script variable value into an xavp.
 			</para>
 			<para>
-				First parameter can be '*' in order to copy all script variables. Second parameter is the name of the destination xavp. If xavp already exists it will be reset first.
+				First parameter can be '*' in order to copy all script variables.
+				Second parameter is the name of the destination xavp.
+				If xavp already exists it will be reset first.
+			</para>
+			<para>
+				Both parameters can contain variables that are evaluated at
+				runtime.
 			</para>
 			<para>
 			Function can be used from ANY_ROUTE.
@@ -431,7 +437,11 @@ $xavp("ok[0]=>foo") now is "foo indeed"
 				<function moreinfo="none">pv_xavp_to_var(xname)</function>
 			</title>
 			<para>
-				Copy xavp values to vars. Reverse of pv_var_to_xavp().
+				Copy xavp values into vars. Reverse of pv_var_to_xavp().
+			</para>
+			<para>
+				Both parameters can contain variables that are evaluated at
+				runtime.
 			</para>
 			<para>
 			Function can be used from ANY_ROUTE.




More information about the sr-dev mailing list