[OpenSIPS-Users] Need help to connect AWS document db through opensips 3.0 .

Sasmita Panda spanda at 3clogic.com
Wed Sep 11 05:58:21 EDT 2019


I had done the same . But that wont work .

loadmodule "cachedb_mongodb.so"
loadmodule "db_cachedb.so"

modparam("cachedb_mongodb", "cachedb_url","mongodb:instance1://
opensips3:cluster@
docdb-2019-09-06-06-01-38.c8aqanvkjwjr.us-east-1.docdb.amazonaws.com:27017/
/opensipsDB.userlocation?ssl=true&ssl_ca_certs=rds-combined-ca-bundle.pem")

modparam("db_cachedb","cachedb_url","mongodb:instance1://
opensips3:cluster@
docdb-2019-09-09-06-01-38.c8aqanvkjwjr.us-east-1.docdb.amazonaws.com:27017/
/opensipsDB.userlocation?ssl=true&ssl_ca_certs=rds-combined-ca-bundle.pem")


modparam("usrloc", "use_domain", 1)
modparam("usrloc", "working_mode_preset", "federation-cachedb-cluster")

modparam("usrloc", "location_cluster", 1)
modparam("usrloc", "cluster_mode", "federation-cachedb")

modparam("usrloc", "restart_persistency", "read_from_sql")
modparam("usrloc", "sql_write_mode", "write-back")

modparam("usrloc", "cachedb_url", "mongodb:instance1://
opensips3:cluster@
docdb-2019-09-06-06-01-38.c8aqanvkjwjr.us-east-1.docdb.amazonaws.com:27017/
/opensipsDB.userlocation?ssl=true&ssl_ca_certs=rds-combined-ca-bundle.pem")

This is my config file look like . But still opensips crashes when I
register a user .



*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


On Wed, Sep 11, 2019 at 3:04 PM Liviu Chircu <liviu at opensips.org> wrote:

> Sorry, I meant "cachedb_url", of course.
>
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
>
> On 11.09.2019 12:32, Liviu Chircu wrote:
> > when specifying the usrloc "db_url" modparam
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190911/7e55dd0b/attachment.html>


More information about the Users mailing list