<div dir="ltr">when i run <span style="font-family: courier new,monospace;">odbcinst -j</span> on my system, it shows me 3 files:<br><span style="font-family: courier new,monospace;">/usr/local/etc/odbc.ini</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/usr/local/etc/odbcinst.ini</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/root/.odbc.ini</span><br><br>When all these files are identical, i can successfully esatcblish the connection through my JS script<br>
What does it show on your system?<br><br>-- <br>Regards,<br>Gayatri Kulkarni<br><br><div class="gmail_quote">On Mon, Oct 13, 2008 at 7:22 PM, Rupa Schomaker <span dir="ltr"><<a href="mailto:freeswitch-users@lists.rupa.com">freeswitch-users@lists.rupa.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This seems to be dependent on how your ODBC is setup. On my system,<br>
using the debian supplied odbc, freeswitch is working just fine with<br>
/etc/odbc.ini.<br>
<div class="Ih2E3d"><br>
On 10/13/2008 2:58 AM, Gayatri Kulkarni wrote:<br>
> To all those who are interested:<br>
><br>
> Freeswitch uses *.odbc.ini* file to connect to the database and not the<br>
> {prefix for unixODBC}/etc/odbc.ini<br>
> *so make sure that one is right before you use("ODBC")* in your<br>
> applications; otherwise even if you can successfully connect to your DB<br>
> with the isql command, you wont be able to use it through your FS app.<br>
><br>
> It's good to find out things on my own :) (time consuming though!)<br>
><br>
><br>
> --<br>
> Regards,<br>
> Gayatri Kulkarni<br>
><br>
> On Mon, Oct 13, 2008 at 11:21 AM, Gayatri Kulkarni<br>
</div><div class="Ih2E3d">> <<a href="mailto:xtpl.gayatri@gmail.com">xtpl.gayatri@gmail.com</a> <mailto:<a href="mailto:xtpl.gayatri@gmail.com">xtpl.gayatri@gmail.com</a>>> wrote:<br>
><br>
> Like we have to add odbc-dsn as a parm name in the voicemail.xml for<br>
> voice mail,<br>
> do we ave to do add it somewhere for running it in javascript too?<br>
><br>
> like i said before, i can successfully connect with same username,<br>
> password, DSN through isql utility<br>
> why does fs not find the DSN name?<br>
><br>
><br>
> --<br>
> Regards,<br>
> Gayatri Kulkarni<br>
><br>
><br>
><br>
><br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>
</div>