[Freeswitch-users] ODBC through JS

Baskar yudha2008 at gmail.com
Mon Oct 20 08:09:16 PDT 2008


Hi,

I have done all the changes but i cant able to run jsrun odbc.js

freeswitch at hp30094686650.optimus.co.in> 2008-10-20 19:34:29 [ERR]
switch_odbc.c:160 switch_odbc_handle_connect() STATE: 01000 CODE 0 ERROR:
[unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmyodbc3.so' :
/usr/local/lib/libmyodbc3.so: file too short

2008-10-20 19:34:29 [ERR] mod_spidermonkey_odbc.c:235 odbc_exec() Database
is not connected!
2008-10-20 19:34:29 [ERR] odbc.js:9 mod_spidermonkey()  TypeError:
session.hangup is not a function

Some one correct me where i am wrong

*odbc ini:*
[ODBC Data Sources]

myodbc      = MySQL ODBC 2.50 Driver DSN
myodbc3     = MySQL ODBC 3.51 Driver DSN


[myodbc]
Driver       = /usr/local/lib/libmyodbc.so
Description  = MySQL ODBC 2.50 Driver DSN
SERVER       = localhost
PORT         = 3306
USER         = optimus
Password     = optimus
Database     = test
OPTION       = 3
SOCKET       =


[myodbc3]
Driver       = /usr/local/lib/libmyodbc3.so
Description  = MySQL ODBC 3.51 Driver DSN
SERVER       = localhost
PORT         = 3306
USER         = optimus
Password     = optimus
Database     = test
OPTION       = 3
SOCKET       =


[Default]
Driver       = /usr/local/lib/libmyodbc3.so
Description  = MySQL ODBC 3.51 Driver DSN
SERVER       = localhost
PORT         = 3306
USER         = optimus
Password     =  optimus


-- 
Warm Regards,
N.Baskar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081020/3a69a0cd/attachment-0002.html 


More information about the FreeSWITCH-users mailing list