Module: kamailio
Branch: master
Commit: 8e211bc196abd49a635192f788364afad13c5a45
URL: https://github.com/kamailio/kamailio/commit/8e211bc196abd49a635192f788364af…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-04-08T13:28:23+02:00
dispatcher: docs updated for rpc add command
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/8e211bc196abd49a635192f788364af…
Patch: https://github.com/kamailio/kamailio/commit/8e211bc196abd49a635192f788364af…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 23dcb513e6..1e67256c88 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -2082,8 +2082,9 @@ DEST: {
<function moreinfo="none">dispatcher.add</function>
</title>
<para>
- Add a destination address to the in-memory dispatcher list. Reloading the dispatcher will remove
- any destinations that are only added to the in-memory dispatcher list.
+ Add a destination address to the in-memory dispatcher list. Reloading
+ the dispatcher will remove any destinations that are only added to the
+ in-memory dispatcher list.
</para>
<para>
Name: <emphasis>dispatcher.add</emphasis>
@@ -2097,6 +2098,9 @@ DEST: {
<listitem><para>_flags_ (optional): as described in the list file format,
default 0</para></listitem>
+ <listitem><para>_priority_ (optional): as described in the list file format,
+ default 0</para></listitem>
+
<listitem><para>_attrs_ (optional): as described in the list file format,
default ""</para></listitem>
@@ -2106,10 +2110,10 @@ DEST: {
</para>
<programlisting format="linespecific">
...
-# prototype: &sercmd; dispatcher.add _group_ _address_ _flags_ _attrs_
+# prototype: &sercmd; dispatcher.add _group_ _address_ _flags_ _priority_ _attrs_
&sercmd; dispatcher.add 2 sip:127.0.0.1:5080
&sercmd; dispatcher.add 3 sip:127.0.0.1:5075 8
-&sercmd; dispatcher.add 3 sip:127.0.0.1:5075 0 duid=abc;socket=udp:127.0.0.1:5060
+&sercmd; dispatcher.add 3 sip:127.0.0.1:5075 0 0 duid=abc;socket=udp:127.0.0.1:5060
...
</programlisting>
</section>