hi i m using default ser config and mysql db/tables ..no modification whatsoever what i want is how can we disable/expire sip accounts..say for example i have a user A and i want to enable his sip account based on hrs/months etc
how to go abt it? what all changes do i need to make?
regards, Madan
You have to change content of subscriber table somehow (i.e. remove and put back users from/to the table). But users that are removed from the table will think that they forgot password, because they will be unable to login.
Jan.
On 31-07 07:36, Madan wrote:
hi i m using default ser config and mysql db/tables ..no modification whatsoever what i want is how can we disable/expire sip accounts..say for example i have a user A and i want to enable his sip account based on hrs/months etc
how to go abt it? what all changes do i need to make?
regards, Madan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello, just another idea ... You can create a special group (e.g., expired) and have a filter at the beginning of ser config file that denies all requests from users being in that group. In this way you don't have to remove/put back the users from/to subscriber table which has many information stored but from grp table.You can use serctl very easy to add/remove a user from a group.
Best regards, Daniel
Jan Janak wrote:
You have to change content of subscriber table somehow (i.e. remove and put back users from/to the table). But users that are removed from the table will think that they forgot password, because they will be unable to login.
Jan.
On 31-07 07:36, Madan wrote:
hi i m using default ser config and mysql db/tables ..no modification whatsoever what i want is how can we disable/expire sip accounts..say for example i have a user A and i want to enable his sip account based on hrs/months etc
how to go abt it? what all changes do i need to make?
regards, Madan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Yes, that's a good idea, but you will have to modify serctl script, there is a variable listing allowed groups and you will have to put expires group there too.
Jan.
On 31-07 12:08, Daniel-Constantin Mierla wrote:
Hello, just another idea ... You can create a special group (e.g., expired) and have a filter at the beginning of ser config file that denies all requests from users being in that group. In this way you don't have to remove/put back the users from/to subscriber table which has many information stored but from grp table.You can use serctl very easy to add/remove a user from a group.
Best regards, Daniel
Jan Janak wrote:
You have to change content of subscriber table somehow (i.e. remove and put back users from/to the table). But users that are removed from the table will think that they forgot password, because they will be unable to login.
Jan.
On 31-07 07:36, Madan wrote:
hi i m using default ser config and mysql db/tables ..no modification whatsoever what i want is how can we disable/expire sip accounts..say for example i have a user A and i want to enable his sip account based on hrs/months etc
how to go abt it? what all changes do i need to make?
regards, Madan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers