Hello,

I think you need to enable this parameter:

  - https://kamailio.org/docs/modules/5.0.x/modules/acc.html#acc.p.cdr_expired_dlg_enable

Cheers,
Daniel


On 14.09.17 07:44, Logeshwaran G wrote:
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"


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com