You mean i have to uncomment the line <load module="mod_spidermonkey_odbc"/>.? yes.I have uncommented that line.eventhough the same error occurs On Thu, Sep 25, 2008 at 2:33 PM, Michael Jerris <mike@jerris.com> wrote:
On Sep 25, 2008, at 4:47 AM, preetha wrote:
Hi, when i try to run a sample odbc code from freeswitch console like freeswitch@localhost> jsrun odbc.js
I found the following error: API CALL [jsrun(odbc.js)] output: OK
freeswitch@localhost> 2008-09-25 19:44:35 [ERR] mod_spidermonkey.c: 3303 js_api_use() Error loading ODBC 2008-09-25 19:44:35 [ERR] odbc.js:11 mod_spidermonkey() ReferenceError: ODBC is not defined
Make sure you have mod_spidermonkey_odbc loaded in your spidermonkey.conf.xml file
Mike
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Preetha.A