Hi, I know there are a lot of answered questions about this already, but I think I read all of the answers and I'm still stuck.<div><br></div><div>* I'm using FreeSWITCH Version 1.0.trunk (14961).</div><div>* I installed UnixODBC</div>
<div>* My odbc.ini and odbcinst.ini files are in /usr/local/etc/</div><div>* I have symlinks to /usr/local/etc from /usr/etc and from /usr/local/freeswitch/etc/</div><div>* Im running freeswitch as root, and I copied odbc.ini to /root/.odbc.ini</div>
<div>* I have mod_spidermonkey_odbc uncommented in spidermonkey.conf.xml</div><div>* When I run "isql dbname" from the command prompt it works fine.</div><div><br></div><div>But when I try to run my script, I get:</div>
<div><br></div><div><div>2009-10-17 23:56:21.848930 [ERR] switch_odbc.c:188 STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified</div><div><br></div><div>2009-10-17 23:56:21.848930 [ERR] mod_spidermonkey_odbc.c:245 Database is not connected!</div>
<div><br></div><div><br></div><div>Please help!</div><div>Thanks.</div><div><br></div></div><div><br></div>