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
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!