[OpenSER-Devel] New module - userblacklist

Ovidiu Sas osas at voipembedded.com
Tue Feb 26 21:40:01 CET 2008


Hi Henning,

Can you update the README file with the structure of the table?
Also a "Database setup" section would help a lot.


Cheers,
Ovidiu

On Tue, Feb 26, 2008 at 8:53 AM, Henning Westerholt
<henning.westerholt at 1und1.de> wrote:
> 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.
>
>
>  This code has been written by Hardy Kahl, hardy dot kahl at 1und1 dot de, so
>  all credits belongs to him. I ported it to the current svn trunk, generalized
>  it somewhat and added documentation and a test. The original module has been
>  in production for some time, but i introduced probably a few errors during my
>  porting. So please give it a try, any comments are of course appreciated.
>
>  Best regards,
>
>  Henning Westerholt
>
>  --
>  Henning Westerholt - Development Consumer Products / DSL Core
>  1&1 Internet AG, Ernst-Frey-Str. 9, 76135 Karlsruhe
>
>  _______________________________________________
>  Devel mailing list
>  Devel at lists.openser.org
>  http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list