[Freeswitch-users] ODBC through JS (To all interested:)
Gayatri Kulkarni
xtpl.gayatri at gmail.com
Wed Oct 15 22:23:19 PDT 2008
when i run odbcinst -j on my system, it shows me 3 files:
/usr/local/etc/odbc.ini
/usr/local/etc/odbcinst.ini
/root/.odbc.ini
When all these files are identical, i can successfully esatcblish the
connection through my JS script
What does it show on your system?
--
Regards,
Gayatri Kulkarni
On Mon, Oct 13, 2008 at 7:22 PM, Rupa Schomaker <
freeswitch-users at lists.rupa.com> wrote:
> This seems to be dependent on how your ODBC is setup. On my system,
> using the debian supplied odbc, freeswitch is working just fine with
> /etc/odbc.ini.
>
> On 10/13/2008 2:58 AM, Gayatri Kulkarni wrote:
> > To all those who are interested:
> >
> > Freeswitch uses *.odbc.ini* file to connect to the database and not the
> > {prefix for unixODBC}/etc/odbc.ini
> > *so make sure that one is right before you use("ODBC")* in your
> > applications; otherwise even if you can successfully connect to your DB
> > with the isql command, you wont be able to use it through your FS app.
> >
> > It's good to find out things on my own :) (time consuming though!)
> >
> >
> > --
> > Regards,
> > Gayatri Kulkarni
> >
> > On Mon, Oct 13, 2008 at 11:21 AM, Gayatri Kulkarni
> > <xtpl.gayatri at gmail.com <mailto:xtpl.gayatri at gmail.com>> wrote:
> >
> > Like we have to add odbc-dsn as a parm name in the voicemail.xml for
> > voice mail,
> > do we ave to do add it somewhere for running it in javascript too?
> >
> > like i said before, i can successfully connect with same username,
> > password, DSN through isql utility
> > why does fs not find the DSN name?
> >
> >
> > --
> > Regards,
> > Gayatri Kulkarni
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081016/6107e72c/attachment-0002.html
More information about the FreeSWITCH-users
mailing list