[OpenSIPS-Devel] CDRS table not populating

Neeraj Jadhav njadhav17 at gmail.com
Mon Nov 16 15:36:55 CET 2015


Hello Devs,

I have the acc table that's being updated properly , dialog table that
shows the apt entries during call but the CDR table doesn't update..

*opensips.cfg:*

#### ACCounting module
loadmodule "acc.so"
modparam("acc", "early_media", 0)
modparam("acc", "report_cancels", 0)
#modparam("acc", "db_mode", 1)
modparam("acc", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")
#modparam("acc", "detect_direction", 0)
modparam("acc", "failed_transaction_flag", "ACC_FAILED")
modparam("acc", "db_flag", "ACC_DO")
modparam("acc", "db_missed_flag", "ACC_MISSED")
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 2)
modparam("acc", "cdr_flag", "CDR_FLAG")

*This is where I call it :*

# account only INVITEs
if (is_method("INVITE")) {
setflag(CDR_FLAG);
setflag(ACC_DO); # do accounting
setflag(1);
create_dialog();
}



*On a debug level 4 I encountered this error :*

/usr/local/sbin/opensips[4914]: DBG:acc:acc_log_cdrs: not entering

Found some people stuck up with same error but no answers..

Thank you ! Id owe you a beer ! ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151116/6878b7f5/attachment.htm>


More information about the Devel mailing list