[OpenSIPS-Users] Userblacklist module with mongodb

ryan embgrets rembgrets at gmail.com
Sun Jul 19 10:32:41 EST 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200719/3bf41bbe/attachment.html>


More information about the Users mailing list