Browse code

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

Daniel-Constantin Mierla authored on 24/03/2021 08:46:53
Showing 1 changed files
... ...
@@ -56,13 +56,18 @@
56 56
 	<section id="pv.p.shvset">
57 57
 		<title><varname>shvset</varname> (string)</title>
58 58
 		<para>
59
-		Set the value of a shared variable ($shv(name)). The parameter
59
+		Set the initial value of a shared variable ($shv(name)). The parameter
60 60
 		can be set many times.
61 61
 		</para>
62 62
 		<para>
63 63
 		The value of the parameter has the format:
64 64
 		_name_ '=' _type_ ':' _value_
65 65
 		</para>
66
+		<para>
67
+		Note: this is special useful for usage with KEMI scripts, the $shv(...)
68
+		variables must be defined during Kamailio initialization in order to
69
+		become available in all worker processes.
70
+		</para>
66 71
 		<itemizedlist>
67 72
 			<listitem><para>_name_: shared variable name</para></listitem>
68 73