Hi. I’ve asterisk 1.8 ( In fact I’ve elastix 2.4 which using asterisk 1.8 ). I’m trying to send queue_log info both to file and also mysql. I tried to configure:
res_config_mysql.conf with necessary fields.
addded to logger.conf
queue_log_to_file = yes
queue_adaptive_realtime = yes
than uncommented queue_log => mysql,general in extconfig.conf, and created table in db asterisk.
after all reloaded and restarted modules.
when I write in extconfig.conf
queue_log => general,mysql
it logs in /var/log/asterisk/queue_log file not in mysql
when it is
queue_log => mysql,general
logs in mysql, not log file.
I found an error in /var/log/asterisk/full
res_config_mysql.c: Table queue_log not found in database. This table should exist if you’re using realtime.
config.c: Realtime mapping for ‘queue_log’ found to engine ‘general’, but the engine is not available