Преглед изворни кода

dispatcher: docs for dispatcher.set_duid_state command

Daniel-Constantin Mierla пре 5 година
родитељ
комит
e97ce9f952
1 измењених фајлова са 22 додато и 0 уклоњено
  1. 22 0
      src/modules/dispatcher/doc/dispatcher_admin.xml

+ 22 - 0
src/modules/dispatcher/doc/dispatcher_admin.xml

@@ -1806,6 +1806,28 @@ onreply_route {
 &sercmd; dispatcher.set_state ip 2 sip:127.0.0.1:5080
 &sercmd; dispatcher.set_state ip 3 all
 ...
+</programlisting>
+    </section>
+	<section>
+	<section id="dispatcher.r.set_duid_state">
+		<title>
+		<function moreinfo="none">dispatcher.set_duid_state</function>
+		</title>
+		<para>
+		Sets the state for a destination by matching on 'duid' attribute. The
+		parameters first two parameter 'state' and 'group' are the same like
+		for RPC command 'dispatcher.set_state'. The third parameter 'duid' is
+		the value to be matched against the 'duid' attribute of dispatcher
+		destinations.
+		</para>
+		<para>
+		Example:
+		</para>
+<programlisting  format="linespecific">
+...
+# prototype: &sercmd; dispatcher.set_duid_state _state_ _group_ _duid_
+&sercmd; dispatcher.set_duid_state ip 2 xyz
+...
 </programlisting>
     </section>
 	<section id="dispatcher.r.list">