FreePBX | Register | Issues | Wiki | Portal | Support

Duplication in Asteriskcdrdb Records

configuration
Tags: #<Tag:0x00007f749d969f38>

(FAK) #1

Hi,
I have enabled odbc connector for database to populate the CDRs but I am figuring out some strange thing.

it’s placing two entries for the same call in the database.

Actually each call has duplicate entry now.

I need help in this.

please find below the record from database.

This record is from CDRs application.


#2

Do you by any chance also have the legacy mysql cdr backend still working?

cdr show status


(FAK) #3

ip-172-31-20-111*CLI> cdr show status

Call Detail Record (CDR) settings

Logging: Enabled
Mode: Simple
Log unanswered calls: No
Log congestion: No

  • Registered Backends

    ODBC
    csv
    Adaptive ODBC

and I have these files configured:

[root@ip-172-31-20-111 asterisk]# ls cdr
cdr_adaptive_odbc.conf cdr.conf cdr_mysql.conf cdr_odbc.conf


(FAK) #4

if I remove cdr_odbc then it stopped inserting cdrs to mysql database


(system) closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.