[SR-Users] Issue in ACC_CDR

Logeshwaran G logeshwarangs at gmail.com
Thu Sep 14 07:44:31 CEST 2017


Hi,

I have enabled both cnxcc and ACC cdr flags.

The call is dropped when the credit is got over (its handling by cnxcc
correctly.) In this case the details are not storing in the ACC_cdr table.
I am not sure what I am missing.

in cfg:
if (loose_route()) {
                route(DLGURI);
                if (is_method("BYE")) {
                        setflag(FLT_ACC); # do accounting ...
                        setflag(FLT_ACCFAILED); # ... even if the
transaction fails

Error:

 2(19484) ERROR: acc [acc_cdr.c:373]: write_cdr(): message is empty!
2(19484) ERROR: acc [acc_cdr.c:656]: cdr_on_end_confirmed(): failed to
write cdr!

Please Guid me.


Thanks & Kind Regards,
*Logeshwaran G*

*"Be Hungry, Stay Foolish"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170914/db9bf3a9/attachment.html>


More information about the sr-users mailing list