Module: kamailio
Branch: master
Commit: e97ce9f952f8f867ae5718df1dd940e0fca33f3e
URL:
https://github.com/kamailio/kamailio/commit/e97ce9f952f8f867ae5718df1dd940e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-22T21:32:59+02:00
dispatcher: docs for dispatcher.set_duid_state command
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/e97ce9f952f8f867ae5718df1dd940e…
Patch:
https://github.com/kamailio/kamailio/commit/e97ce9f952f8f867ae5718df1dd940e…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml
b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 42dc66bb4a..c38988580c 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/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">