Hello,
I’m writing a realtime configuration engine backed by MongoDB. As the MySQL realtime configuration engine, the new engine would be located in the addons directory.
The changes I made until now:
- Added file res_config_mongo.c to addons directory.
- Added module res_config_mongo to the Makefile located in the addons directory.
- I copied the res_config_mysql.exports file to res_config_mongo.exports (I really don’t know what is the meaning of this file).
When I compile Asterisk, I get a lot of compilation errors since it can’t find the Mongo driver and JSON libraries. I guess I need to do some changes to the addons Makefile so it knows where to find the libraries.
Could you please indicate me how this can be done?
Is there another step I’m missing for adding the module?
Thanks,
Mickael