asterisk


ERROR[6576][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[6576][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

Related Links

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

Categories

HOME
actionscript-3
domain-driven-design
salesforce
assign
redhawksdr
opc-ua
symfony-3.2
scapy
rethinkdb
sahi
software-collections
subprocess
desktop-application
fine-uploader
virtuemart
civicrm
aws-devicefarm
autologin
passbook
screen-scraping
pushbullet
v4l2
bootstrap-accordion
android-xml
smart-device
federated
r-factor
opencsv
blockly
ng2-bootstrap
log4net-configuration
contextmenustrip
favorites
instances
fisheye
file-descriptor
ape-phylo
flume-ng
amazon-rds-aurora
gradlew
api-key
google-chrome-storage
text-formatting
remap
dcom
google-cloud-shell
multivalue
standard-error
hellosign
huawei
stripes
blackberry-webworks
disconnect
mate-desktop
tinybox2
vga
nsoperationqueue
database-administration
python-rq
paypal-subscriptions
clique
datamodel
google-finance-api
clear
matlab-engine
maven-antrun-plugin
recode
tvp
sdkman
transbase
windows-phone-8-emulator
pushwoosh
dpkt
autoscaling
photogrammetry
grails-3.0.9
nsq
cordova-3
lwuit
tigase
redmine-plugins
javacompiler
rda
webshim
jsmpp
email-headers
class-library
cvi
html5-filesystem
node-amqp
xml-validation
sygic
maven-webstart-plugin
magicsuggest
servicemanager
pymel
brew
openafs
aspmenu-control
bash4
discussion-board
vectorwise
jquery-click-event
p4.net
focus-stealing

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App