Is there an API that allows modification to an expires value in a REGISTER msg, if the client's expires time is greater than a given system limit?
If so, which expires time is modified, the contact header(s) expires or the expires header?
Here is an example. We have some clients registering for one week, when we want to limit registration to one day.
Regards,
Chris
You can set the minimal value of expires parameter. If a UA sends a shorter expires value then the registrar will automatically use this minimal (configured) value. See min_expires parameter of registrar module.
It is not yet possible to set the maximum allowed value -- patches and contributions are welcome.
No part of the original request is modified, the registrar returns the new expires value of the contact in 200 OK.
Jan.
On 14-05 17:53, Chris Crawford wrote:
Is there an API that allows modification to an expires value in a REGISTER msg, if the client's expires time is greater than a given system limit?
If so, which expires time is modified, the contact header(s) expires or the expires header?
Here is an example. We have some clients registering for one week, when we want to limit registration to one day.
Regards,
Chris
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers