[sr-dev] git:master:bcc6370c: pv: docs - note about use of $shv() in kemi scripts for shvset param [skip ci]

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 24 10:05:18 CET 2021


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-03-24T09:46:53+01:00

pv: docs - note about use of $shv() in kemi scripts for shvset param [skip ci]

---

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

---

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

---

diff --git a/src/modules/pv/doc/pv_admin.xml b/src/modules/pv/doc/pv_admin.xml
index 61df878c3a..5fbe706c8e 100644
--- a/src/modules/pv/doc/pv_admin.xml
+++ b/src/modules/pv/doc/pv_admin.xml
@@ -56,13 +56,18 @@
 	<section id="pv.p.shvset">
 		<title><varname>shvset</varname> (string)</title>
 		<para>
-		Set the value of a shared variable ($shv(name)). The parameter
+		Set the initial value of a shared variable ($shv(name)). The parameter
 		can be set many times.
 		</para>
 		<para>
 		The value of the parameter has the format:
 		_name_ '=' _type_ ':' _value_
 		</para>
+		<para>
+		Note: this is special useful for usage with KEMI scripts, the $shv(...)
+		variables must be defined during Kamailio initialization in order to
+		become available in all worker processes.
+		</para>
 		<itemizedlist>
 			<listitem><para>_name_: shared variable name</para></listitem>
 




More information about the sr-dev mailing list