Module: kamailio
Branch: master
Commit: 2fb642bd318884059c2c31487fdba9cc22aed7ef
URL:
https://github.com/kamailio/kamailio/commit/2fb642bd318884059c2c31487fdba9c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-06-24T09:11:17+02:00
presence: docs for rpc command to update watchers
---
Modified: src/modules/presence/doc/presence_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/2fb642bd318884059c2c31487fdba9c…
Patch:
https://github.com/kamailio/kamailio/commit/2fb642bd318884059c2c31487fdba9c…
---
diff --git a/src/modules/presence/doc/presence_admin.xml
b/src/modules/presence/doc/presence_admin.xml
index 3ff750d633..c518503f09 100644
--- a/src/modules/presence/doc/presence_admin.xml
+++ b/src/modules/presence/doc/presence_admin.xml
@@ -1266,6 +1266,35 @@ pres_update_watchers("sip:test@kamailio.org",
"presence");
...
</programlisting>
</section>
+ <section id="presence.rpc.updateWatchers">
+ <title>presence.updateWatchers</title>
+ <para>
+ Manually triggers updates to watchers (for example,
+ after the contents of XCAP docs has been updated).
+ </para>
+ <para>
+ Name: <emphasis>presence.updateWatchers</emphasis>
+ </para>
+ <para>Parameters:</para>
+ <itemizedlist>
+ <listitem>
+ <para>uri - the uri of the user who made the changes
+ and whose watchers should be updated.</para>
+ </listitem>
+ <listitem>
+ <para>event - the event package (e.g. presence).
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ RPC Command Format:
+ </para>
+ <programlisting format="linespecific">
+...
+&kamcmd; presence.updateWatchers sip:alice@domain.com presence
+...
+ </programlisting>
+ </section>
</section>
<section>