[OpenSER-Users] New module - userblacklist

Henning Westerholt henning.westerholt at 1und1.de
Wed Feb 27 15:33:33 CET 2008


On Wednesday 27 February 2008, Iñaki Baz Castillo wrote:
> > 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.
>
> Could it be used to set the allowed international destinations? It's
> something that I asked past week and something for which there is not a
> "ellegant" and simple solution in OpenSer (and modules).
>
> For example:
>
> table "globalblacklist":
> prefix	whitelist	comment
> ------        -----------     --------------
> +		0		Any destination dissabled by default
> +34		1		Spain (allowed)
> +44		1		England (allowed)


Hi Iñaki,

yes, this works. I just extend the test for the module (test/25.sh), take a 
look into this file to get an idea.

Cheers,

Henning




More information about the sr-users mailing list