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

Liviu Chircu liviu at opensips.org
Wed Sep 11 05:32:41 EDT 2019


Library and server versions look good.  The library is a bit old (I've 
only tested with 1.4),
but it shouldn't make a difference.  Truth be told, both 1.3 and 1.4 are 
_very_ old compared
to what the MongoDB docs are saying.  However, they work fine in real life!

Can you try the following: when specifying the usrloc "db_url" modparam, 
could you also include
the name of the collection?  For example, instead of:

mongodb://1.2.3.4/opensipsDB

... use:

mongodb://1.2.3.4/opensipsDB.userlocation

Let me know if this helps.

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 11.09.2019 12:21, Sasmita Panda wrote:
> dpkg -l | grep -i libmongoc
>
> ii  libmongoc-1.0-0                              1.3.1-1               
>            amd64        MongoDB C client library - runtime files
> ii  libmongoc-dev                                1.3.1-1               
>            amd64        MongoDB C client library - dev files



More information about the Users mailing list