[Serusers] newly added aliases get expire time in the past?

Jev jev at ecad.org
Tue May 11 20:39:57 CEST 2004


Hi Ezequiel,

I did this and it worked thanks.

I have another similar problem though with my already existing subscribers.

I think what has happened is that when I created the subscribers using 
the serctl add..... command it set the expire field to some value in the 
future, and recently that time has come. So now my subscribers have 
expired, and when they log in the expire value gets set to a only a few 
minutes in the future.

This causes my users bindings to expire regularly and their phones go 
dead for a few minutes at a time. How can I update these existing users 
expire value? I could shut ser down and update the db by hand, but I'm 
sure there is a more standard way?

-Jev

Ezequiel Colombo wrote:

> The timer Expire is defined in the serctl script, find the variable
> FOREVER_REL and change this to other value.
> In my case, the original value are not supported for the mysql database, i
> need change the var like this:
> 
> # VALUE CHANGED DUE TO HUGH VALUE FOR MYSQL
> # CHANGED TO ONE YEAR IN SECONDS
> #FOREVER_REL=1073741823
> FOREVER_REL=31536000
> 
> 
> ----- Original Message -----
> From: "Jev" <jev at ecad.org>
> To: "'Serusers'" <serusers at lists.iptel.org>
> Sent: Tuesday, May 11, 2004 2:42 PM
> Subject: [Serusers] newly added aliases get expire time in the past?
> 
> 
> 
>>Hi,
>>
>>I'm trying to add a numeric alias, but they get a expire value of
>>1902-04-15 00:22:32 and subsequently get dropped from the database.
>>
>>Why is this happening?
>>
>>Also, what value should be in the expire field for permanent aliases and
>>accounts? and what is the appropriate way to set these values? I suspect
>>doing it directly on the database would be no good if ser is running?
>>
>>
>>Thanks,
>>-Jev
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
> 
> 
> 




More information about the sr-users mailing list