Automatic Reconnect To ODBC Sources?

Home » Asterisk Users » Automatic Reconnect To ODBC Sources?
Asterisk Users No Comments

I am using Asterisk on Ubuntu Server 12.04. I use MySQL to store CDR records using cdr_adaptive_odbc. The problem: When the mysql server fails for whatever reason, Asterisk never reconnects automatically! So I loose all CDR informations even after the MySQL server works again. isql (used as ODBC testtool) tells me, that ODBC reconnects or does a new connection on request, so ODBC seems not to be the problem, but Asterisk. Is there any automatic reconnect option on Asterisk concercing ODBC /
cdr_adaptive_odbc? My complete configuration including ODBC is as follows:


*/etc/odbc.ini *




*/etc/asterisk/cdr_adaptive_odbc.conf *


Thanks for any hint!

Best regards Stefan