5 Feb
2013
5 Feb
'13
8:56 a.m.
Hi all! I have a lua script in which i have a statement that connects to a sqlite db: local dbh = freeswitch.Dbh("core:/usr/local/temp/database.db"); but i receve in FS CLI this error that refers to a Pgsqlinstead of sqlite: 2013-02-05 09:40:10.379612 [ERR] switch_odbc.c:365 STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified 2013-02-05 09:40:10.379612 [CRIT] switch_core_sqldb.c:504 Failure to connect to PGSQL core! 2013-02-05 09:40:10.379612 [ERR] freeswitch_lua.cpp:354 Connection failed. DBH NOT Connected. 2013-02-05 09:40:10.379612 [ERR] freeswitch_lua.cpp:435 DBH NOT Connected. Can you help me? Best regards,