|
@@ -745,24 +745,29 @@ modparam("registrar", "reg_callid_avp", "$avp(s:avp)")
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
<para>
|
|
<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
|
|
contacts to be stored for the current registration AoR. It
|
|
overwrites the 'max_contacts' module parameter value.
|
|
overwrites the 'max_contacts' module parameter value.
|
|
</para>
|
|
</para>
|
|
</listitem>
|
|
</listitem>
|
|
<listitem>
|
|
<listitem>
|
|
<para>
|
|
<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>
|
|
</para>
|
|
</listitem>
|
|
</listitem>
|
|
<listitem>
|
|
<listitem>
|
|
<para>
|
|
<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>
|
|
</para>
|
|
</listitem>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
@@ -784,6 +789,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");
|
|
...
|
|
...
|
|
}
|
|
}
|