Module: kamailio
Branch: master
Commit: 6b30c100e7618cabf4d241f4b5b28bb334cf5340
URL:
https://github.com/kamailio/kamailio/commit/6b30c100e7618cabf4d241f4b5b28bb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-02-14T17:16:19+01:00
presence: docs for presence.watcher_list rpc command
---
Modified: src/modules/presence/doc/presence_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/6b30c100e7618cabf4d241f4b5b28bb…
Patch:
https://github.com/kamailio/kamailio/commit/6b30c100e7618cabf4d241f4b5b28bb…
---
diff --git a/src/modules/presence/doc/presence_admin.xml
b/src/modules/presence/doc/presence_admin.xml
index cd67be7e54..dbad0acf65 100644
--- a/src/modules/presence/doc/presence_admin.xml
+++ b/src/modules/presence/doc/presence_admin.xml
@@ -1426,6 +1426,33 @@ kamctl rpc presence.presentity_list full
...
kamctl rpc presence.presentity_show basic alice
sipserver.com
kamctl rpc presence.presentity_show full *
sipserver.com
+...
+ </programlisting>
+ </section>
+ <section id="presence.rpc.watcher_list">
+ <title>presence.watcher_list</title>
+ <para>
+ Return the watcher records for a specific presentity uri.
+ </para>
+ <para>
+ Name: <emphasis>presence.watcher_list</emphasis>
+ </para>
+ <para>Parameters:</para>
+ <itemizedlist>
+ <listitem>
+ <para>mode - it can be 'basic' or 'full' to print a selection
or
+ all the fields of watcher record.</para>
+ </listitem>
+ <listitem>
+ <para>uri - the presentity uri.</para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ RPC Command Format:
+ </para>
+ <programlisting format="linespecific">
+...
+kamctl rpc presence.watcher_list basic sip:alice@sipserver.com
...
</programlisting>
</section>