<div dir="ltr">Hello Devs,<div><br></div><div>I have the acc table that&#39;s being updated properly , dialog table that shows the apt entries during call but the CDR table doesn&#39;t update..</div><div><br></div><div><b>opensips.cfg:</b></div><div><br></div><div><div>#### ACCounting module</div><div>loadmodule &quot;acc.so&quot;</div><div>modparam(&quot;acc&quot;, &quot;early_media&quot;, 0)<br></div><div>modparam(&quot;acc&quot;, &quot;report_cancels&quot;, 0)</div><div>#modparam(&quot;acc&quot;, &quot;db_mode&quot;, 1)<br></div><div>modparam(&quot;acc&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)</div><div>#modparam(&quot;acc&quot;, &quot;detect_direction&quot;, 0)</div><div>modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, &quot;ACC_FAILED&quot;)</div><div>modparam(&quot;acc&quot;, &quot;db_flag&quot;, &quot;ACC_DO&quot;)<br></div><div>modparam(&quot;acc&quot;, &quot;db_missed_flag&quot;, &quot;ACC_MISSED&quot;) </div><div>modparam(&quot;acc&quot;, &quot;log_flag&quot;, 1)</div><div>modparam(&quot;acc&quot;, &quot;log_missed_flag&quot;, 2)</div><div>modparam(&quot;acc&quot;, &quot;cdr_flag&quot;, &quot;CDR_FLAG&quot;)</div></div><div><br></div><div><b>This is where I call it :</b></div><div><br></div><div><div># account only INVITEs</div><div><span class="" style="white-space:pre">        </span>if (is_method(&quot;INVITE&quot;)) {</div><div><span class="" style="white-space:pre">                </span></div><div><span class="" style="white-space:pre">                </span>setflag(CDR_FLAG);</div><div><span class="" style="white-space:pre">                </span>setflag(ACC_DO); # do accounting</div><div><span class="" style="white-space:pre">                </span>setflag(1);</div><div><span class="" style="white-space:pre">                </span>create_dialog();</div><div><span class="" style="white-space:pre">                </span></div><div><span class="" style="white-space:pre">        </span>}</div></div><div><br></div><div><br></div><div><br></div><div><b>On a debug level 4 I encountered this error :</b></div><div><br></div><div><div>/usr/local/sbin/opensips[4914]: DBG:acc:acc_log_cdrs: not entering</div></div><div><br></div><div>Found some people stuck up with same error but no answers..</div><div><br></div><div>Thank you ! Id owe you a beer ! ;)</div><div><br></div></div>