Any pointer?

I am using mongo for other modules and don't want to keep separate
database(mysql) for this module only

Ryan.

On Sun, 19 Jul 2020 at 15:32, ryan embgrets <rembgr...@gmail.com> wrote:

> Greeting,
>
> I am just wondering if someone has been using mongodb for the user
> blacklist module or even if it is compatible with mongo?
>
> I have below configurations,
>
> loadmodule "db_cachedb.so"
> loadmodule "cachedb_mongodb.so"
>
> modparam("db_cachedb","cachedb_url","mongodb:globalblacklist://opensips:opensipsrw@localhost
> /opensips.globalblacklist")
>
> loadmodule "userblacklist.so"
> modparam("userblacklist", "db_url", "cachedb://mongodb:globalblacklist")
>
> But it does not seem to work, and gives below error
>
> ERROR:userblacklist:db_reload_source: got invalid result type from query.
>
> Any suggestions?
>
> Ryan.
>
>
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to