In grp table you could associate users to groups and check it in the
config file with is_user_in() statement.
This way you would make different routing decissions based on the membership.
As guide:
if(is_user_in('international')){
//allow user to make itnernational calls
}
if(is_user_in('blocked')){
//user is blocked
xx_reply('503','Forbidden');
}
In version 2.0 (ottendorf) and further, now there are *attributes*,
which can be associated to the whole installation, to the different
domains the installation is responsible for, for the users, and for
the uri the user can have.
This attributes are stored in the database in different tables
(global_attr,domain_att,user_attr,uri_attr) and can be loaded with
load_attributes function. This way you can create an attribute used in
user_attr table named group and with the value of the older grp table.
That's the reason group module is not needed anymore.
Further information can be found in
iptel.org...
Samuel.
2007/3/23, KUMAR <kumar.kisalaya(a)gmail.com>om>:
yes, i was talking about the 'group' module. I
still see it in 0.9.6.
Moreover, there's even a table 'grp' in the ser database. Even if it
has been removed now, i would like to know what it is/was used for.
thank you
kumar
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers