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

I don't using canreinvite option in asterisk
What Internet Voice Services Can Asterisk be Connected To
Using Nginx with Asterisk ARI
How to disable auto update in FREEPBX
Custom solution to call telehones from within broswers (webRTC <-> telephony link) [closed]
A2billing Readout Balance
How to write VoiceMail dialplans in asterisk
Problems with string pattern matching
asterisk hangup call when hold
Cant place outgoing call en E1
Dial via SIP -> IAX2
asterisk send event to a web app when the phone ring
how to add one SIP Extension by command line in Asterisk
Is there a way to get the ${DEVICE_STATE(SIP/${EXTEN})} output on asterisk AMI before making originate call
How to hang up the calls before calling AGI script?
Mixmonitor command is not working in asterisk dialplan

Categories

HOME
oop
redux
netty
phantomjs
bigtable
latex
readdir
nltk
crash
coordinates
foreach
travis-ci-cli
ndepend
aspectj
osrm
adroitlogic
tracking
browsermob
fastreport
aggregate
popup
dat.gui
jsfiddle
simd
ofbiz
android-actionbar
smali
advertising
aws-certificate-manager
pydub
multiple-inheritance
hierarchical-data
sphinx4
spring-data-gemfire
andengine
headphones
leaderboard
multi-user
colorbox
text-extraction
django-cors-headers
ocamlbuild
rivets.js
nao-robot
serialversionuid
ear
openidm
e4
riemann
playframework-2.3
seyren
liferay-ide
overhead
tsc
esprima
sqlproj
kik
pebble-js
github-for-mac
overlapping
personality-insights
adempiere
properties-file
dpkt
vensim
pdcurses
targetprocess
stderr
veeam
wingdb
conkeror
chunks
cordova-3
fxmlloader
qf-test
famous-engine
worklight-appcenter
javacompiler
ios-enterprise
telerik-appbuilder
visual-studio-setup-proje
ant-contrib
android-relativelayout
sigma-grid-control
enquire.js
nvcc
complete
grunt-wiredep
ojb
ia-32
wpd
backbone-views
azure-scheduler
database-restore
antixsslibrary
libx264
invalidoperationexception
hypertable
nserror
towerjs
parallel-python
openwrap
hs-err
onunload
arraycollection
datarelation
linq-to-mysql
focus-stealing
disk-based
jgrowl

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