[sr-dev] git:master:03289ce3: registrar: update doc for use_expired_contacts

Stefan Mititelu stefan.mititelu92 at gmail.com
Mon Mar 9 20:30:34 CET 2020


Module: kamailio
Branch: master
Commit: 03289ce36d12d9397b5d9879e75d56b8baac10fa
URL: https://github.com/kamailio/kamailio/commit/03289ce36d12d9397b5d9879e75d56b8baac10fa

Author: Stefan Mititelu <stefan.mititelu92 at gmail.com>
Committer: Stefan Mititelu <stefan.mititelu92 at gmail.com>
Date: 2020-02-28T17:12:04+02:00

registrar: update doc for use_expired_contacts

---

Modified: src/modules/registrar/doc/registrar_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/03289ce36d12d9397b5d9879e75d56b8baac10fa.diff
Patch: https://github.com/kamailio/kamailio/commit/03289ce36d12d9397b5d9879e75d56b8baac10fa.patch

---

diff --git a/src/modules/registrar/doc/registrar_admin.xml b/src/modules/registrar/doc/registrar_admin.xml
index 4575bbaf9b..e3140965d4 100644
--- a/src/modules/registrar/doc/registrar_admin.xml
+++ b/src/modules/registrar/doc/registrar_admin.xml
@@ -1100,6 +1100,46 @@ request_route {
 		</programlisting>
 		</example>
 	</section>
+
+
+	<section id="registrar.p.use_expired_contacts">
+		<title><varname>use_expired_contacts</varname> (int)</title>
+
+		<para>
+			Allow/Disallow the usage of the expired contacts.
+		</para>
+
+		<itemizedlist>
+		<listitem>
+			<para>
+				<emphasis>0</emphasis> Disallow the usage of the expired contacts.
+			</para>
+		</listitem>
+		<listitem>
+			<para>
+				<emphasis>1</emphasis> Allow the usage of the expired contacts.
+			</para>
+		</listitem>
+		</itemizedlist>
+
+		<para>
+		<emphasis>
+			Default value is 0 (Disallow).
+		</emphasis>
+		</para>
+
+		<example>
+		<title>Set <varname>use_expired_contacts</varname> parameter</title>
+		<programlisting format="linespecific">
+...
+modparam("registrar", "use_expired_contacts", 1)
+...
+
+kamcmd cfg.set_now_int registrar use_expired_contacts 1
+kamcmd cfg.set_now_int registrar use_expired_contacts 0
+		</programlisting>
+		</example>
+	</section>
 	</section>
 
 	




More information about the sr-dev mailing list