Hi,
I have followed instructions on setting up Kamailio with MongoDB backend, and 
successfully compiled and installed kamailio with the db_mongo module. It can 
start successfully. However, when I tried to add users using the command:

kamctl add test testpasswd t...@mysipserver.com <mailto:t...@mysipserver.com>

It fails because it is trying to default to MYSQL. Here is the result of that 
command:

WARNING: database engine not found - tried 'MYSQL'
ERROR: This command requires a database engine - none was loaded

When I take a look at the kamctl script, it lists all the other kinds of 
database engines, except MongoDb, so this is probably why it is failing. How 
can I use kamctl to create the required Mongodb collections (like users, 
subscribers, etc) that Kamaiio will then use?My kamailio.cfg seem to be working 
ok, as I seem to be able to connect to the database (I modified the file to use 
db_mongo module), and I create the initial collections as listed here - 
https://www.kamailio.org/wiki/tutorials/kamailio-and-mongodb 
<https://www.kamailio.org/wiki/tutorials/kamailio-and-mongodb>

Thanks,
Chuks.  
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to