[Nov 17 15:38:45] WARNING: res_odbc.c:400 ast_odbc_sanity_check: Connection is down attempting to reconnect…
[Nov 17 15:38:45] NOTICE: res_odbc.c:834 odbc_obj_connect: Connecting PBXDB
[Nov 17 15:38:45] NOTICE: res_odbc.c:862 odbc_obj_connect: res_odbc: Connected to PBXDB [PBXDB]
Why is it telling me “Connection is down attempting to reconnect” every time?
I have configures a very simple query in func_odbc.conf
readsql=SELECT COUNT(*) as a FROM cdr’
When I run this from my dialplan I get: