[sr-dev] git:master:3fc1da64: presence: added enable_dmq parameter to module docs
Charles Chance
charles.chance at sipcentric.com
Thu Jan 25 19:39:34 CET 2018
Module: kamailio
Branch: master
Commit: 3fc1da644a6b375fc45ea17cbcf81643f70db545
URL: https://github.com/kamailio/kamailio/commit/3fc1da644a6b375fc45ea17cbcf81643f70db545
Author: Charles Chance <charles.chance at sipcentric.com>
Committer: Charles Chance <charles.chance at sipcentric.com>
Date: 2018-01-24T14:21:30Z
presence: added enable_dmq parameter to module docs
---
Modified: src/modules/presence/doc/presence_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/3fc1da644a6b375fc45ea17cbcf81643f70db545.diff
Patch: https://github.com/kamailio/kamailio/commit/3fc1da644a6b375fc45ea17cbcf81643f70db545.patch
---
diff --git a/src/modules/presence/doc/presence_admin.xml b/src/modules/presence/doc/presence_admin.xml
index 0bedc37741..aa10dff34c 100644
--- a/src/modules/presence/doc/presence_admin.xml
+++ b/src/modules/presence/doc/presence_admin.xml
@@ -62,6 +62,11 @@
<emphasis>tm</emphasis>.
</para>
</listitem>
+ <listitem>
+ <para>
+ <emphasis>dmq (only if replication is enabled)</emphasis>.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</section>
@@ -897,6 +902,33 @@ modparam("presence", "retrieve_order_by", "priority, received_time")
</example>
</section>
+<section id="presence.p.enable_dmq">
+ <title><varname>enable_dmq</varname> (integer)</title>
+ <para>
+ If set to 1, will enable DMQ replication of presentities between nodes. Use this instead of a shared DB
+ to share state across a cluster and update local watchers in realtime (subs_db_mode < 3) or on next
+ notifier run (subs_db_mode = 3).
+ </para>
+ <para>
+ <emphasis>
+ If this parameter is enabled, the DMQ module must be loaded first - otherwise, startup will fail.
+ </emphasis>
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>enable_dmq</varname> parameter</title>
+ <programlisting format="linespecific">
+ ...
+ modparam("presence", "enable_dmq", 1)
+ ...
+ </programlisting>
+ </example>
+</section>
+
</section>
<section>
More information about the sr-dev
mailing list