Browse code

registrar: update doc for use_expired_contacts

Stefan Mititelu authored on 28/02/2020 13:42:33
Showing 1 changed files
... ...
@@ -1100,6 +1100,46 @@ request_route {
1100 1100
 		</programlisting>
1101 1101
 		</example>
1102 1102
 	</section>
1103
+
1104
+
1105
+	<section id="registrar.p.use_expired_contacts">
1106
+		<title><varname>use_expired_contacts</varname> (int)</title>
1107
+
1108
+		<para>
1109
+			Allow/Disallow the usage of the expired contacts.
1110
+		</para>
1111
+
1112
+		<itemizedlist>
1113
+		<listitem>
1114
+			<para>
1115
+				<emphasis>0</emphasis> Disallow the usage of the expired contacts.
1116
+			</para>
1117
+		</listitem>
1118
+		<listitem>
1119
+			<para>
1120
+				<emphasis>1</emphasis> Allow the usage of the expired contacts.
1121
+			</para>
1122
+		</listitem>
1123
+		</itemizedlist>
1124
+
1125
+		<para>
1126
+		<emphasis>
1127
+			Default value is 0 (Disallow).
1128
+		</emphasis>
1129
+		</para>
1130
+
1131
+		<example>
1132
+		<title>Set <varname>use_expired_contacts</varname> parameter</title>
1133
+		<programlisting format="linespecific">
1134
+...
1135
+modparam("registrar", "use_expired_contacts", 1)
1136
+...
1137
+
1138
+kamcmd cfg.set_now_int registrar use_expired_contacts 1
1139
+kamcmd cfg.set_now_int registrar use_expired_contacts 0
1140
+		</programlisting>
1141
+		</example>
1142
+	</section>
1103 1143
 	</section>
1104 1144
 
1105 1145