Kamailio and Mongodb Module Load Error
Temilolu Fayomi via sr-users <[email protected]> Thu, 12 Mar 2026 17:47:14 -0000
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <[email protected]> |
Hi All, I am currently working with kamailio version 6.0.1 and mongodb version 8.0.17. I'm successfully connecting to my mongodb database which is a replica set. I'm using the address backend for the permissions module and in my mongo replica set I have the correct table version 6 with the correct table name. My fields follow the format id, grp, ip_addr, mask, port and tag. Even though I've tried deleting and readding the table name and version and my one table test entry, I get the following errors below. ERROR: db_mongodb [mongodb_dbase.c:1065]: db_mongodb_query(): failed to store result ERROR: db_mongodb [mongodb_dbase.c:1074]: db_mongodb_query(): failed to do the query ERROR: <core> [lib/srdb1/db.c:412]: db_table_version(): error in db_query ERROR: <core> [lib/srdb1/db.c:473]: db_check_table_version(): querying version for table address ERROR: permissions [address.c:510]: init_addresses(): Error during version check for db table: address, check database structure. ERROR: permissions [permissions.c:702]: mod_init(): failed to initialize the allow_address function ERROR: <core> [core/sr_module.c:1040]: init_mod(): Error while initializing module permissions (/usr/lib/x86_64-linux-gnu/kamailio/modules/permissions.so) Is the permissions module incompatible with mongo? Any help is appreciated! Thank you, Temi __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!