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

_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to