<div>Bom dia galera.</div><div> </div><div>Depois de instalar o processo do freetds para pegar os registros no mysql e levar para o Sql, não sei onde alterei algo e parou de registrar no mysql e começou a dar esse erro.</div>
<div> </div><div> -- Reloading module 'res_odbc.so' (ODBC resource)<br> == Parsing '/etc/asterisk/res_odbc.conf': Found<br> == Parsing '/etc/asterisk/res_odbc_custom.conf': Found<br> == Parsing '/etc/asterisk/res_odbc_additional.conf': Found<br>
[2014-07-31 08:22:44] NOTICE[19890]: res_odbc.c:1537 odbc_obj_connect: Connecting asteriskcdrdb<br>[2014-07-31 08:22:44] WARNING[19890]: res_odbc.c:1562 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][FreeTDS][SQL Server]Unable to connect to data source<br>
[2014-07-31 08:22:44] WARNING[19890]: res_odbc.c:1377 _ast_odbc_request_obj2: Failed to connect to asteriskcdrdb<br>[2014-07-31 08:22:44] NOTICE[19890]: res_odbc.c:924 load_odbc_config: Registered ODBC class 'asteriskcdrdb' dsn->[MySQL-asteriskcdrdb]<br>
pbx*CLI></div><div> </div><div> </div><div>odbcinst -q -d #<br>[PostgreSQL]<br>[MySQL]</div><div> </div><div> </div><div>odbcinst.ini</div><div> </div><div>[PostgreSQL]<br>Description = ODBC for PostgreSQL<br>Driver = /usr/lib/psqlodbc.so<br>
Setup = /usr/lib/libodbcpsqlS.so<br>Driver64 = /usr/lib64/psqlodbc.so<br>Setup64 = /usr/lib64/libodbcpsqlS.so<br>FileUsage = 1<br></div><div> </div><div>[MySQL]<br>Description = ODBC for MySQL<br>
Driver = /usr/lib/libmyodbc5.so<br>Setup = /usr/lib/libodbcmyS.so<br>Driver64 = /usr/lib64/libmyodbc5.so<br>Setup64 = /usr/lib64/libodbcmyS.so<br>FileUsage = 1<br><br>
</div><div><br> </div>