ODBC Support for Javascript

Submitted by admin on Thu, 02/22/2007 - 23:20.
::

Using the new javascript sub modules we have now implemented mod_spidermonkey_odbc which makes it possible to use ODBC from IVR scripts.

Here is a small example script.

You should be able to do some really cool stuff with this module.

Submitted by valenti on Sun, 08/24/2008 - 08:58.

I'm trying to use the module but always freeswitch give me the error :

2008-08-24 14:53:14 [DEBUG] switch_odbc.c:145 switch_odbc_handle_connect() Connecting voshare
2008-08-24 14:53:14 [ERR] switch_odbc.c:160 switch_odbc_handle_connect() STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

Pls note that from isql and/or odbcinst is working fine !
[bin]# odbcinst -s -q -l
[voshare]
[bin]#

--------------------------------------------------------------

[bin]#
[bin]# isql voshare
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL>

any hints ?

Thanks