When you posted this it was 3AM my time so tagging me wasn’t really needed. In fact I generally already respond to any posts which I have knowledge on.
If you haven’t changed anything in res_odbc.conf then your configuration is incomplete, as it is explicitly disabled in that file by default.
Hi,
I followed The link that @jeanne posted, but with no luck!
Some times the call get stored in CDR table, but some other times I get the error : Unable to retrieve database handle. CDR failed. !!
Any help ?
What I learnt on how to resolve this error:
The DSN name in /etc/asterisk/cdr_odbc.conf must point to the section name in /etc/asterisk/res_odbc.conf.
The DSN name in /etc/asterisk/res_odbc.conf must point to the section name in /etc/odbc.ini
The Driver name in /etc/odbc.ini must point to the section name in /etc/odbcinst.ini