<div dir="auto"><div dir="ltr">Hi SoCIal, <br><br>which Kamailio version you are using.<div><br></div><div>did you able to get the dialog information using the dialog command. <a href="https://www.kamailio.org/docs/modules/devel/modules/dialog.html#dlg.r.dlg_list" target="_blank" rel="noreferrer">https://www.kamailio.org/docs/modules/devel/modules/dialog.html#dlg.r.dlg_list</a></div><div><br></div><div>when you received bye on secondary server, is that server recognized the bye.</div><div dir="auto"><br></div><div dir="auto"> <br><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 18, 2021 at 3:38 AM 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <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 cols="72">---
I'm SoCIaL, MayBe</pre>
    <div>El 17/07/2021 a las 11:34 a. m., M
      Arqum CH escribió:<br>
    </div>
    <blockquote type="cite">
      
      <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" target="_blank" rel="noreferrer">social@bohboh.info</a>> wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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" rel="noreferrer noreferrer" target="_blank">social@bohboh.info</a>>
                          wrote:<br>
                        </div>
                        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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 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 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" rel="noreferrer noreferrer" target="_blank">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" rel="noreferrer noreferrer" target="_blank">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" 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><br clear="all"><div><br></div>