Hi,
i just imported a new module, called 'userblacklist', into the svn trunk. To quote from the README:
The userblacklist module allows OpenSER to handle blacklists on a per user basis. This information is stored in a database table, which is queried to decide if the number is blacklisted or not.
An additional functionality that this module provides is the ability to handle global blacklists. This lists are loaded on startup into memory, thus providing a better performance then in the userblacklist case. This global lists could also used to prevent the blacklisting of important numbers, as whitelisting is also supported. This is useful for example to prevent the customer from blocking emergency call number or service hotlines.
The module exports two functions, check_blacklist and check_user_blacklist for usage in the config file. Furthermore its provide a FIFO function to reload the global blacklist cache.
The documentation for this module can be found at:
http://www.openser.org/docs/modules/devel/userblacklist.html
Best regards,
Henning Westerholt