[OpenSIPS-Users] user location in mongodb

Liviu Chircu liviu at opensips.org
Thu Feb 1 05:04:25 EST 2018


Hi Jayesh,

Absolutely yes! In fact, MongoDB is currently the only supported NoSQL 
backend to work with usrloc! The idea is that its document-oriented 
representation of data makes it easy to equivalate to an SQL backend, 
hence Vlad wrote the "db_cachedb" NoSQL -> SQL translation interface and 
also equipped the "cachedb_mongodb" module with an initial 
implementation of this interface.

So, to sum up: make sure to load both "db_cachedb" and 
"cachedb_mongodb", while configuring then in a similar fashion to the 
module docs [1]. You should get the usrloc working in no time!

Cheers,

[1]: 
http://www.opensips.org/html/docs/modules/2.4.x/db_cachedb.html#idp243888

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

On 01.02.2018 07:53, Jayesh Nambiar wrote:
> Hello,
> I am running opensips 2.3.2 stable. I wanted to know if mongodb can be 
> used for storing the user location information with opensips 
> cachedb_mongodb module?
> Quick googling didnt give me any clarity if it is possible or not. 
> Before doing anything, I wanted to know if this is possible with opensips.
>
> Thanks,
>
> - Jayesh
>
>
> _______________________________________________
> 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/20180201/4a6ea4e0/attachment.html>


More information about the Users mailing list