Module: kamailio Branch: master Commit: 5e0bc1a5c9764ce472354a0aa242b7469d79eb7f URL: https://github.com/kamailio/kamailio/commit/5e0bc1a5c9764ce472354a0aa242b7469d79eb7f
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2024-12-09T09:28:50+01:00 tm: small updates about timer avp params and compatibility modes --- Modified: src/modules/tm/doc/params.xml --- Diff: https://github.com/kamailio/kamailio/commit/5e0bc1a5c9764ce472354a0aa242b7469d79eb7f.diff Patch: https://github.com/kamailio/kamailio/commit/5e0bc1a5c9764ce472354a0aa242b7469d79eb7f.patch --- diff --git a/src/modules/tm/doc/params.xml b/src/modules/tm/doc/params.xml index ecff467fa06..ad1f55e2061 100644 --- a/src/modules/tm/doc/params.xml +++ b/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> _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!