Переглянути джерело

tm: small updates about timer avp params and compatibility modes

Daniel-Constantin Mierla 9 місяців тому
батько
коміт
5e0bc1a5c9
1 змінених файлів з 14 додано та 14 видалено
  1. 14 14
      src/modules/tm/doc/params.xml

+ 14 - 14
src/modules/tm/doc/params.xml

@@ -825,19 +825,19 @@ modparam("tm", "contact_flows_avp", "tm_contact_flows")
 			<varname>fr_timer</varname>.
 		</para>
 		<para>
-			In Kamailio compatibility mode (defined by #!KAMAILIO), the value
-			of the parameter must be the name of an AVP in pseudo-variable
-			format: $avp(name). In SER compatibility mode it must be just
-			AVP name.
+			In Kamailio compatibility mode (defined by #!KAMAILIO, which is
+			default), the value of the parameter must be the name of an AVP
+			in pseudo-variable format: $avp(name). In SER compatibility mode
+			(defined by #!SER) it must be just AVP name.
 		</para>
 		<example>
 			<title>Set <varname>fr_timer_avp</varname> parameter</title>
 			<programlisting>
 ...
-# Kamailio mode
-modparam("tm", "fr_timer_avp", "$avp(i:708)")
-# Old SER mode
-modparam("tm", "fr_timer_avp", "i:708")
+# default Kamailio compatibility mode
+modparam("tm", "fr_timer_avp", "$avp(frtimer)")
+# old SER compatibility mode
+modparam("tm", "fr_timer_avp", "frtimer")
 ...
 			</programlisting>
 		</example>
@@ -871,18 +871,18 @@ modparam("tm", "fr_timer_avp", "i:708")
 			<varname>fr_inv_timer</varname>.
 		</para>
 		<para>
-			In Kamailio compatibility mode (defined by #!KAMAILIO), the value
-			of the parameter must be the name of an AVP in pseudo-variable
-			format: $avp(name). In SER compatibility mode it must by just
-			AVP name.
+			In Kamailio compatibility mode (defined by #!KAMAILIO, which is
+			default), the value of the parameter must be the name of an AVP
+			in pseudo-variable format: $avp(name). In SER compatibility mode
+			(defined by #!SER) it must by just AVP name.
 		</para>
 		<example>
 			<title>Set <varname>fr_inv_timer_avp</varname> parameter</title>
 			<programlisting>
 ...
-# Kamailio mode
+# Kamailio compatibility mode
 modparam("tm", "fr_inv_timer_avp", "$avp(my_fr_inv_timer)")
-# Old SER mode
+# old SER compatibility mode
 modparam("tm", "fr_inv_timer_avp", "my_fr_inv_timer")
 ...
 			</programlisting>