[OpenSIPS-Users] Last Modified AOR for User

sevpal sevpal at aol.com
Tue Feb 10 03:26:00 CET 2015

The data in the DB are stored correctly, there aren’t any problems there, I can view all the fields properly set with “db.location.find()” . On a raw Query though, all the other fields return with Json data except the date/time fields. It seems mongo needs a different kind of directive than what is currently in the module to retrieve the data.

From: Bogdan-Andrei Iancu 
Sent: Monday, February 09, 2015 4:24 AM
To: sevpal ; OpenSIPS users mailling list 
Subject: Re: [OpenSIPS-Users] Last Modified AOR for User

Hi Jalung,

If you list the records in mongoDB collection, do you see the "last_modified" field properly set ? (I'm trying to understand if you have a problem with the data in DB or with the query itself)


Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 07.02.2015 01:47, sevpal wrote:

  If I’m storing the location table in a mongodb collection, how to query the most current AOR for a user? I can query all the fields except the date/time fields eg; “last_modified”, they return empty. I’m doing this using the mongo raw  query in Opensips.



Users mailing list
Users at lists.opensips.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150209/d6117e36/attachment.htm>

More information about the Users mailing list