[asterisk-users] cdr_odbc.c:174 odbc_log: Unable to retrieve database handle. CDR failed.

hw hw at gc-24.de
Fri Dec 7 07:19:18 CST 2018


Hi,

is cdr logging using odbc buggy?  I'im only getting an error 
"cdr_odbc.c:174 odbc_log: Unable to retrieve database handle.  CDR failed.".

Connecting with isql to the datasource given in cdr_odbc.conf works just 
fine, and using the database for sippeers also works.

The documentation[1] is confusing because it says freeTDS is required 
and that you must not use multiple database connectors and remains 
entirely unclear about whether odbc works at all for this and doesn't 
say what to do when you use odbc for sippeers and want to log CDRs in 
your database.


[1]: https://wiki.asterisk.org/wiki/display/AST/MSSQL+CDR+Backend



More information about the asterisk-users mailing list