Prechádzať zdrojové kódy

modules: readme files regenerated - registrar ... [skip ci]

Kamailio Dev 4 rokov pred
rodič
commit
8e54f027e8
1 zmenil súbory, kde vykonal 5 pridanie a 2 odobranie
  1. 5 2
      src/modules/registrar/README

+ 5 - 2
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.
    Defines the name of XAVP class to store runtime module config values.
    The values are stored as inner XAVPs, like $xavp(class=>attribute).
    The values are stored as inner XAVPs, like $xavp(class=>attribute).
    Valid inner XAVP names:
    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
      * max_contacts - the number of maximum contacts to be stored for the
        current registration AoR. It overwrites the 'max_contacts' module
        current registration AoR. It overwrites the 'max_contacts' module
        parameter value.
        parameter value.
      * socket - the string representing the socket on which the register
      * socket - the string representing the socket on which the register
        request was received, as alternative to using the sock_hdr.
        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
    For example. if this parameter is set to 'reg', then the number of
    maximum contacts can be set in $xavp(reg=>max_contacts).
    maximum contacts can be set in $xavp(reg=>max_contacts).
@@ -742,6 +744,7 @@ modparam("registrar", "xavp_cfg", "reg")
 request_route {
 request_route {
     ...
     ...
     $xavp(reg=>max_contacts) = 4;
     $xavp(reg=>max_contacts) = 4;
+    $xavp(reg[0]=>expires) = 600;
     save("location");
     save("location");
     ...
     ...
 }
 }