ERROR[C-000018df] cdr_mysql.c: Failed to insert into database: (1062) Duplicate entry '' for key 'accountcode'
I am facing an issue while generating CDR report from freepbx / asterisk , we are getting blank report. After troubleshooting , we fund error below error in CDR logs : ERROR[C-000018df] cdr_mysql.c: Failed to insert into database: (1062) Duplicate entry '' for key 'accountcode'
You have created unique key for cdr.account code. Since accountcode is same for all records of same users, you get that error. Solution is remove key and create non-unique one
How to configure asterisk instant messaging to work with linphone?
AsteriskNOW IP PBX behind NAT, clients cannot connect from outside Network
Send DTMF Digit with dialplan
Visual Dialplan : how to play a playback file
Multiple Incomming calls to free agent
Asterisk incoming message gives: 415 unsupported media type
Forwarding X Headers in Asterisk
Asrterisk 13.4.0 RTC issue
Pass DTMF Variable to Channel as Caller Name
How to log data of a call
How to stay in the queue?
Time between next invite in sipp
Asterisk - Dial between two local phones
Vicidial SIP Trunk with Twilio
Asterisk 13 hangup both SIP channels, when bridge is destroyed
Asterisk channel status