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.

Hope this will help you.

On Sat, Jul 17, 2021, 7:33 PM Social Boh <social@bohboh.info> wrote:

Hello,

i tested with DMQ module and happens the same.

DMQ module loaded before dialog module and on dialog module parameters:

modparam("dialog", "enable_dmq", 1)

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.

Regards

---
I'm SoCIaL, MayBe
El 17/07/2021 a las 1:24 a. m., M Arqum CH escribió:
Hi Social,

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. 

Cheers


On Fri, Jul 16, 2021, 7:32 PM Social Boh <social@bohboh.info> wrote:
Im' testinf Kamailio HA with Keepalived.

I have a problem with acc_cdrs table in this situation:

A call B and when the two users are in the call I switch off the active
Kamailio. Keepalived pass the Virtual IP to the secondary Kamailio and
audio still work because I'm using a remote RTPENGINE server for both
Kamailio.

The problem is when the call end. On the acc table i can see INVITE and
BYE entries but on the acc_cdrs table nothing. Second problem the dialog
still present on the table dialog in a Primary/Primary replication.

Is there a way to solve it?

Thank you

Regards

--
---
I'm SoCIaL, MayBe


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users