Hi,
I’m working on getting asterisk realtime using ODBC/mysql.
I’m working out some sip audio issues and debugging has this message in it frequently:
res_config_odbc.c:88 realtime_odbc: SQL Alloc Handle failed!
The code that generates the message is from res_config_odbc.c:
00241 res = SQLAllocHandle (SQL_HANDLE_STMT, obj->con, &stmt);
00242 if ((res != SQL_SUCCESS) && (res != SQL_SUCCESS_WITH_INFO)) {
00243 ast_log(LOG_WARNING, “SQL Alloc Handle failed!\n”);
00244 odbc_release_obj(obj);
00245 return NULL;
00246 }
Can anyone inform me as to why I’m getting this error?