Module: kamailio
Branch: master
Commit: 65141b0603a1a053058da166eba2b6b2a869ed81
URL:
https://github.com/kamailio/kamailio/commit/65141b0603a1a053058da166eba2b6b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-02-04T16:23:03+01:00
registration: docs for min_expires_mode param
---
Modified: src/modules/registrar/doc/registrar_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/65141b0603a1a053058da166eba2b6b…
Patch:
https://github.com/kamailio/kamailio/commit/65141b0603a1a053058da166eba2b6b…
---
diff --git a/src/modules/registrar/doc/registrar_admin.xml
b/src/modules/registrar/doc/registrar_admin.xml
index eb87035f02..4575bbaf9b 100644
--- a/src/modules/registrar/doc/registrar_admin.xml
+++ b/src/modules/registrar/doc/registrar_admin.xml
@@ -201,9 +201,10 @@ modparam("registrar", "expires_range", 30) #
expires within [0.7*expires .. expi
<section id="registrar.p.min_expires">
<title><varname>min_expires</varname> (integer)</title>
<para>
- The minimum expires value of a <quote>Contact</quote>. Values lower than
this
- minimum will be automatically set to the minimum. Value 0 disables
- the checking. This parameter can be modified via the &kamailio; config framework.
+ The minimum expires value of a <quote>Contact</quote>. Values lower than
this
+ minimum will be either set to the minimum or 423 response is sent back.
+ Value 0 disables the checking. This parameter can be modified via the
+ &kamailio; config framework.
</para>
<para>
<emphasis>
@@ -219,6 +220,29 @@ modparam("registrar", "min_expires", 60)
</programlisting>
</example>
</section>
+
+ <section id="registrar.p.min_expires_mode">
+ <title><varname>min_expires_mode</varname> (integer)</title>
+ <para>
+ Control what to do when expires value in REGISTER request is lower than
+ min_expires parameter. If set to 0, expires is set to min_expires. If
+ set to 1, then 423 Interval Too Brief is sent back.
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>min_expires_mode</varname>
parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("registrar", "min_expires_mode", 1)
+...
+</programlisting>
+ </example>
+ </section>
+
<section id="registrar.p.max_expires">
<title><varname>max_expires</varname> (integer)</title>
<para>