Module: kamailio
Branch: master
Commit: 8e54f027e8193b70e840033b9c3c5a94ebf5486b
URL:
https://github.com/kamailio/kamailio/commit/8e54f027e8193b70e840033b9c3c5a9…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-12-21T14:46:11+01:00
modules: readme files regenerated - registrar ... [skip ci]
---
Modified: src/modules/registrar/README
---
Diff:
https://github.com/kamailio/kamailio/commit/8e54f027e8193b70e840033b9c3c5a9…
Patch:
https://github.com/kamailio/kamailio/commit/8e54f027e8193b70e840033b9c3c5a9…
---
diff --git a/src/modules/registrar/README b/src/modules/registrar/README
index 3298f6f41d..8100557bd5 100644
--- a/src/modules/registrar/README
+++ b/src/modules/registrar/README
@@ -722,13 +722,15 @@ modparam("registrar", "reg_callid_avp",
"$avp(s:avp)")
Defines the name of XAVP class to store runtime module config values.
The values are stored as inner XAVPs, like $xavp(class=>attribute).
Valid inner XAVP names:
+ * expires - the number of maximum contacts to be stored for the
+ current registration AoR. It overwrites the 'max_contacts' module
+ parameter value.
+ * q - the expires value, to overwrite the value from SIP headers.
* max_contacts - the number of maximum contacts to be stored for the
current registration AoR. It overwrites the 'max_contacts' module
parameter value.
* socket - the string representing the socket on which the register
request was received, as alternative to using the sock_hdr.
- * q - q value of contact (integer 0-1000). It overrides q value given
- in contact header and default_q parameter.
For example. if this parameter is set to 'reg', then the number of
maximum contacts can be set in $xavp(reg=>max_contacts).
@@ -742,6 +744,7 @@ modparam("registrar", "xavp_cfg",
"reg")
request_route {
...
$xavp(reg=>max_contacts) = 4;
+ $xavp(reg[0]=>expires) = 600;
save("location");
...
}