<p>I pushed the change to acc_logic.c, but I don't understand the reason for the one in acc.c, respectively the change:</p>

<pre><code>-                       if((type==0) && (msg->flags&(e->acc_flag))) {
+                       if((type==0) && ((e->acc_flag))) {
</code></pre>

<p>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?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/266#issuecomment-125177336">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZdS_xtIrda_752rXjcL2cFI7SA9Nks5ohhKggaJpZM4FgMM_.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/266#issuecomment-125177336"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>