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

get the caller number after call is answered
Asterisk automatic incoming call answering
Error Asterisk 12.8 bad magic number
Can not configure adhearsion with asterisk
Asterisk WAN Issues
Unable to establish two way Asterisk call
Asterisk GotoIf comparison variable exists in Array
Call Limit (call-limit) in Asterisk 13 with PJSIP
Asterisk call recording not showing any logs and file
Asterisk 13.7 GROUP_COUNT always returns 1
How to write asterisk application
how to write application to freepbx
Asterisk: format of the lines logged
asterisk PAMI Originate Call issue
Route a provider's numbers to specific extensions
Merging multiple RTP using asterisk for conferences

Categories

HOME
sql-server-2014
oracle-sqldeveloper
pyspark
pelican
conceptual
nltk
lithium
sugarcrm
aggregation-framework
yuv
foreach
docker-compose
kohana
apache-httpclient-4.x
jpql
unreal-engine4
resharper
hdf5
android-notifications
web-worker
civicrm
spring-webflow
sonarlint
prepros
datastax-enterprise
smart-device
drombler-fx
request-uri
hierarchy
arp
boost-log
oracle-nosql
leaderboard
iterm2
stdin
ninja-forms
glide-image-library
electron-packager
java-5
libzip
head
ack
jenkins-2
xmldom
android-vectordrawable
huawei
timefield
jira-agile
syslog4j
qtruby
queuing
hotkeys
diameter-protocol
usps
instabug
jquery-draggable
windows-phone-8-emulator
pushwoosh
openhab
page-refresh
vectordrawable
gcc-warning
radgrid
mathics
xmla
random-access
launcher
famous-engine
pytz
sat4j
xts
serializer
banana-pi
jsmpp
elixir-framework
nvcc
record-locking
extensibility
nx
yii-components
filedialog
unordered-set
stl-algorithm
parallel-python
vectorwise
opendir
auto-compile
activescaffold
dongle
script-tag

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