I pushed the change to acc_logic.c, but I don't understand the reason for the one in acc.c, respectively the change:
``` - if((type==0) && (msg->flags&(e->acc_flag))) { + if((type==0) && ((e->acc_flag))) { ```
That is checking if the message has the flag set for accounting, you changed just to test if accounting engine has a flag to be used for accounting. Can you detail more of what you think it is solving?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/266#issuecomment-125177336