[Serdev] FW: [Serusers] limiting expires time
Chris Crawford
crawford_c at pannaway.com
Mon May 17 14:55:36 UTC 2004
I will put the enhancement into the registrar module. IMHO it should be
part of the registrar module and not a core option, so that it could be
set on a user-by-user basis. For instance, there may be a group (ACLs)
associated with limiting user registration times (normal users). There
also may be another group associated with 'permanent' registration times
(gateways, admins, etc.). It allows more flexibility with each
registration request.
Below is the functionality that can be expected:
1- If a maximum expires is set, then each contact in the 200 reply that
has an expires time greater than the max will be set to the maximum
expires.
2- If the expires header has a time greater than the configured max,
then the 200 reply header will be set to the maximum expires.
Is this reasonable? Thoughts?
Chris
> -----Original Message-----
> From: Jan Janak [mailto:jan at iptel.org]
> Sent: Sunday, May 16, 2004 2:56 PM
> To: Chris Crawford
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] limiting expires time
>
> 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 at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
More information about the Serdev
mailing list