elastix cdr停止工作

CDR在3月19日之前工作。 不幸的是,我不记得我对configuration做了什么样的改变,但是这完全不会改变为CDRconfiguration。

elastix 2.4.0星号11.7.0 mysql 5.0.95

elastix*CLI> cdr show status Call Detail Record (CDR) settings ---------------------------------- Logging: Disabled Mode: Simple /etc/asterisk/cdr.conf [general] enable=yes unanswered = yes /etc/asterisk/cdr_mysql.conf [global] hostname = localhost dbname=asteriskcdrdb password = *MYPASSWROD* user = asteriskcdruser userfield=1 ;port=3306 ;sock=/tmp/mysql.sock loguniqueid=yes mysql> SHOW GRANTS FOR 'asteriskcdruser'@'localhost'; +-----------------------------------------------------------------------------------------------+ | Grants for asteriskcdruser@localhost | +-----------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO 'asteriskcdruser'@'localhost' IDENTIFIED BY PASSWORD 'HASHHERE' | | GRANT ALL PRIVILEGES ON `asteriskcdrdb`.* TO 'asteriskcdruser'@'localhost' | +-----------------------------------------------------------------------------------------------+ 2 rows in set (0.00 sec) 

你有没有在加载时查看Asterisk控制台,看看在mysql通道驱动程序中是否有错误? 看看mysql服务器日志,看看是否有连接或身份validation问题。

通过删除来修复它:

 /var/log/asterisk/cdr-csv/Master.csv 

并重新加载模块