Good spot -- I will update the docs.

The query should be implemented with the commit 666ffd55f4d2a14d89bbe7d18f75a9e2d398420b and it is part of 4.2 series.

Cheers,
Daniel

On 28/01/15 17:25, Mickael Marrache wrote:

Thanks Daniel for your reply, I asked this question because the DB_MONGODB documentation states queries don't store the result yet, but I guess queries are now supported?

 

From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla
Sent: Wednesday, January 28, 2015 6:20 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] usrloc and MongoDB

 

Hello,

yes, it is possible by using db_mongodb module for usrloc.

Thinking of it, perhaps there is a limitation on handling natted contacts in DB_ONLY mode (no cache) if you use nathelper, related to sending options keepalives. You might need to enable pinging all contact.

Storing and retrieving records in mongodb should work fine -- report any issue on mailing list and it will be fixed.

Cheers,
Daniel


On 28/01/15 16:37, Mickael Marrache wrote:

Hi,

 

Is it possible to save user location data in a MongoDB database?

 

If not, are you guys using p_usrloc in your projects? Can you please give me some feedback?

 

Thanks,

Mickael




_______________________________________________
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




-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda