Module: kamailio
Branch: master
Commit: 66313927181e6252f6f3807c607f143c88183c17
URL:
https://github.com/kamailio/kamailio/commit/66313927181e6252f6f3807c607f143…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-11-15T20:20:54+01:00
presence: docs for pres_subs_mode parameter
---
Modified: src/modules/presence/doc/presence_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/66313927181e6252f6f3807c607f143…
Patch:
https://github.com/kamailio/kamailio/commit/66313927181e6252f6f3807c607f143…
---
diff --git a/src/modules/presence/doc/presence_admin.xml
b/src/modules/presence/doc/presence_admin.xml
index c518503f09..3eb1c1e942 100644
--- a/src/modules/presence/doc/presence_admin.xml
+++ b/src/modules/presence/doc/presence_admin.xml
@@ -929,6 +929,28 @@ modparam("presence", "enable_dmq", 1)
</example>
</section>
+<section id="presence.p.pres_subs_mode">
+ <title><varname>pres_subs_mode</varname> (integer)</title>
+ <para>
+ Allow disabling cloning subscription structure for pv $subs(...), saving the
+ pkg memory and copy operations for all its fields. If 1 the cloning is done;
+ if 0, no cloning and $subs(...) returns $null.
+ </para>
+ <para>
+ <emphasis>
+ Default value is 1.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>pres_subs_mode</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("presence", "pres_subs_mode", 0)
+...
+</programlisting>
+ </example>
+</section>
+
</section>
<section>