<div dir="auto"><div>Make sure that your table columns matched the field's you are trying to insert, please check the syslog for acc module log, acc module print the cdr in log facility too, if acc module facing any issue while writing cdr in db, it will throw error in logs.</div><div dir="auto"><br></div><div dir="auto">Hope this will help you.<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, Jul 17, 2021, 7:33 PM Social Boh <<a href="mailto:social@bohboh.info">social@bohboh.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <p>Hello,</p>
    <p>i tested with DMQ module and happens the same.<br>
    </p>
    <p>DMQ module loaded before dialog module and on dialog module
      parameters:</p>
    <p>modparam("dialog", "enable_dmq", 1)</p>
    <p>During a call I can see on both Kamailio servers the dialog data
      but when switch off the active kamailio server and the second
      kamailio server take the control and hangup the call, no data
      acc_cdrs table.</p>
    <p>Regards<br>
    </p>
    <pre cols="72">---
I'm SoCIaL, MayBe</pre>
    <div>El 17/07/2021 a las 1:24 a. m., M Arqum
      CH escribió:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">
        <div>Hi Social,</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Replication of dialog using dmq will solve
          your problem, you need to load dmq module before  loading
          dialog module and enable replication of dialogs in dialog
          module, please check dialog module conf option for more
          details. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Cheers</div>
        <div dir="auto"><br>
          <br>
          <div class="gmail_quote" dir="auto">
            <div dir="ltr" class="gmail_attr">On Fri, Jul 16, 2021, 7:32
              PM Social Boh <<a href="mailto:social@bohboh.info" target="_blank" rel="noreferrer">social@bohboh.info</a>> wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Im'
              testinf Kamailio HA with Keepalived.<br>
              <br>
              I have a problem with acc_cdrs table in this situation:<br>
              <br>
              A call B and when the two users are in the call I switch
              off the active <br>
              Kamailio. Keepalived pass the Virtual IP to the secondary
              Kamailio and <br>
              audio still work because I'm using a remote RTPENGINE
              server for both <br>
              Kamailio.<br>
              <br>
              The problem is when the call end. On the acc table i can
              see INVITE and <br>
              BYE entries but on the acc_cdrs table nothing. Second
              problem the dialog <br>
              still present on the table dialog in a Primary/Primary
              replication.<br>
              <br>
              Is there a way to solve it?<br>
              <br>
              Thank you<br>
              <br>
              Regards<br>
              <br>
              -- <br>
              ---<br>
              I'm SoCIaL, MayBe<br>
              <br>
              <br>
              __________________________________________________________<br>
              Kamailio - Users Mailing List - Non Commercial Discussions<br>
                * <a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
              Important: keep the mailing list in the recipients, do not
              reply only to the sender!<br>
              Edit mailing list options or unsubscribe:<br>
                * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" rel="noreferrer">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
  </div>

__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div></div>