Module: kamailio Branch: master Commit: 4b7c02c93053076d3089499a0290203157b63c0d URL: https://github.com/kamailio/kamailio/commit/4b7c02c93053076d3089499a0290203157b63c0d
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2020-12-21T14:34:16+01:00 registrar: docs for expires field of xavp_cfg --- Modified: src/modules/registrar/doc/registrar_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/4b7c02c93053076d3089499a0290203157b63c0d.diff Patch: https://github.com/kamailio/kamailio/commit/4b7c02c93053076d3089499a0290203157b63c0d.patch --- diff --git a/src/modules/registrar/doc/registrar_admin.xml b/src/modules/registrar/doc/registrar_admin.xml index 94ce4b3a0b..f4bb213b14 100644 --- a/src/modules/registrar/doc/registrar_admin.xml +++ b/src/modules/registrar/doc/registrar_admin.xml @@ -745,24 +745,29 @@ modparam("registrar", "reg_callid_avp", "$avp(s:avp)") <itemizedlist> <listitem> <para> - <emphasis>max_contacts</emphasis> - the number of maximum + <emphasis>expires</emphasis> - the number of maximum contacts to be stored for the current registration AoR. It overwrites the 'max_contacts' module parameter value. </para> </listitem> <listitem> <para> - <emphasis>socket</emphasis> - the string representing the - socket on which the register request was received, as alternative - to using the sock_hdr. + <emphasis>q</emphasis> - the expires value, to overwrite the + value from SIP headers. + </para> + </listitem> + <listitem> + <para> + <emphasis>max_contacts</emphasis> - the number of maximum + contacts to be stored for the current registration AoR. It + overwrites the 'max_contacts' module parameter value. </para> </listitem> <listitem> <para> - <emphasis>q</emphasis> - q value of contact - (integer 0-1000). It - overrides q value given in contact header and - default_q parameter. + <emphasis>socket</emphasis> - the string representing the + socket on which the register request was received, as alternative + to using the sock_hdr. </para> </listitem> </itemizedlist> @@ -784,6 +789,7 @@ modparam("registrar", "xavp_cfg", "reg") request_route { ... $xavp(reg=>max_contacts) = 4; + $xavp(reg[0]=>expires) = 600; save("location"); ... } _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev