[sr-dev] git:master:2fb642bd: presence: docs for rpc command to update watchers

Daniel-Constantin Mierla miconda at gmail.com
Mon Jun 24 09:12:06 CEST 2019


Module: kamailio
Branch: master
Commit: 2fb642bd318884059c2c31487fdba9cc22aed7ef
URL: https://github.com/kamailio/kamailio/commit/2fb642bd318884059c2c31487fdba9cc22aed7ef

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/2fb642bd318884059c2c31487fdba9cc22aed7ef.diff
Patch: https://github.com/kamailio/kamailio/commit/2fb642bd318884059c2c31487fdba9cc22aed7ef.patch

---

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 at 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 at domain.com presence
+...
+	  </programlisting>
+	</section>
 </section>
 
 <section>




More information about the sr-dev mailing list