Module: kamailio
Branch: master
Commit: bbb81e5f6ef5744cc9b74302e8ecee6687199872
URL:
https://github.com/kamailio/kamailio/commit/bbb81e5f6ef5744cc9b74302e8ecee6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-10T13:20:34+01:00
usrloc: docs for ka_randomize parameter
---
Modified: src/modules/usrloc/doc/usrloc_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/bbb81e5f6ef5744cc9b74302e8ecee6…
Patch:
https://github.com/kamailio/kamailio/commit/bbb81e5f6ef5744cc9b74302e8ecee6…
---
diff --git a/src/modules/usrloc/doc/usrloc_admin.xml
b/src/modules/usrloc/doc/usrloc_admin.xml
index 77b18989b4b..d7d78ae7b00 100644
--- a/src/modules/usrloc/doc/usrloc_admin.xml
+++ b/src/modules/usrloc/doc/usrloc_admin.xml
@@ -1481,6 +1481,31 @@ modparam("usrloc", "ka_interval", 30)
</example>
</section>
+ <section id="usrloc.p.ka_randomize">
+ <title><varname>ka_randomize</varname> (int)</title>
+ <para>
+ The parameter sets the the upper limit to the range of random seconds
+ to be added to ka_interval before checking if a new keepalive request
+ has to be sent. It should help to distribute better the sending of
+ keepalive requests. The keepalive for a location record is going to be
+ sent in a random fashion between (ka_interval + 0) and
+ (ka_interval + ka_randomize).
+ </para>
+ <para>
+ <emphasis>
+ Default value is <quote>20</quote>.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>ka_randomize</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("usrloc", "ka_interval", 30)
+...
+</programlisting>
+ </example>
+ </section>
+
<section id="usrloc.p.ka_loglevel">
<title><varname>ka_loglevel</varname> (int)</title>
<para>