Hi Mike,
I check some of it out but couldn't find anything specifically on MS Access and the ODBC driver that FreeSwitch uses. There is this example:
use("ODBC");
var db = new ODBC("dsnName", "username", "password");
var sql = "select * from users";
db.connect();
if (!db.query(sql))
session.hangup(); //might want to say something nice instead.
while (db.nextRow())
{
row = db.getData();
console_log("debug", "UserName: " + row["user_name"]);
}
I'm a hobbist not a developer so this may sound a bit dense:
In the above example, the var db is set up with some "dsnName". Is there somewhere in the pages / files you kindly directed me to which gives the DSN name for MS Access that I need to use with this FreeSwitch ODBC?
Thanks for the help.
Mark.
http://wiki.freeswitch.org/wiki/ODBC
-----Original Message-----
From: Michael Jerris <mike@jerris.com>
To: freeswitch-dev@lists.freeswitch.org
Sent: Fri, 24 Oct 2008 11:44 am
Subject: Re: [Freeswitch-dev] MS Access (mdb) and FreeSwitch - Javascript?
Hello,
Running FreeSwitch on Windows in an "low-key" "home set-up" type situation, I would like to access an MS Access database.
As I understand it so far, FreeSwitch can connect to it's sqlite db and has an ODBC driver for Unix/Linux based db's but my use needs a way to connect Access.
odbc is for all platforms including windows.
Mike
=