瀏覽代碼

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">