<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>if during a call I stop Primary Kamailio the Secondary Kamailio
      take de Virtual IP but don't save call data:</p>
    <p>In the Primary database, acc table, I have INVITE data but not
      BYE data; no data in acc_cdrs for the call. In the Secondary
      Kamailio, acc table, I have BYE data but not INVITE data.</p>
    <p>in the file LOG no data about call cdr.</p>
    <p>Maybe a solution is write call data whene the call end?</p>
    <p>Regards<br>
    </p>
    <pre class="moz-signature" cols="72">---
I'm SoCIaL, MayBe</pre>
    <div class="moz-cite-prefix">El 17/07/2021 a las 11:34 a. m., M
      Arqum CH escribió:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACm_yeG-uSoLStYzJEmLeFhTOGSDWz7sbgOMJ1-94de7ZX+Sfg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
                moz-do-not-send="true">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"
                            moz-do-not-send="true">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"
                            moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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"
                moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">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 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>
  </body>
</html>