<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>I think you need to enable this parameter:</p>
    <p>  -
<a class="moz-txt-link-freetext" href="https://kamailio.org/docs/modules/5.0.x/modules/acc.html#acc.p.cdr_expired_dlg_enable">https://kamailio.org/docs/modules/5.0.x/modules/acc.html#acc.p.cdr_expired_dlg_enable</a></p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 14.09.17 07:44, Logeshwaran G wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALa2Qa9LKQ_6qNyvVzrLU7qCsg3qJvV481e7wnEbgy7m3TuuzA@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>Hi,<br>
                  <br>
                </div>
                I have enabled both cnxcc and ACC cdr flags.<br>
                <br>
              </div>
              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.<br>
              <br>
            </div>
            in cfg:<br>
            if (loose_route()) {<br>
                            route(DLGURI);<br>
                            if (is_method("BYE")) {<br>
                                    setflag(FLT_ACC); # do accounting
            ...<br>
                                    setflag(FLT_ACCFAILED); # ... even
            if the transaction fails<br>
            <br>
          </div>
          Error:<br>
          <br>
           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!<br>
          <br>
        </div>
        Please Guid me.<br clear="all">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div class="gmail_signature">
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div><br>
                                      <br>
                                      Thanks & Kind Regards,<br>
                                    </div>
                                    <b>Logeshwaran G</b><br>
                                    <br>
                                  </div>
                                  <div><b>"Be Hungry, Stay Foolish"</b><br>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>