[SR-Users] CDRs and MongoDB

Mickael Marrache mickaelmarrache at gmail.com
Fri Jan 23 08:15:59 CET 2015


Hi,

 

Is it possible to write CDRs directly to MongoDB using the new db_mongodb
module?

 

modparam("acc", "db_url", DB_MONGO_URL)

modparam("acc", "cdr_enable", 1)

modparam("acc", "cdr_extra", " . ")

modparam("acc", "cdr_log_enable", 0)

modparam("acc", "cdrs_table", "cdrs")

 

 

In the acc module documentation, I found the following statement:

 

Note that CDR generation does not involve any kind of database storage
(yet). In order to persist the CDRs into a database you will have to set up
an exterior process (i.e., a script living outside of Kamailio) and
implement the storage task yourself.

 

Thanks,

Mickael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150123/2154648a/attachment.html>


More information about the sr-users mailing list