<div dir="ltr">Hi, <br><br>for your information,<br><br>I have copied odbc configuration files to <b>/etc/</b> directory <br><br>thanks in advance, <br>Venkat. <br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">ovvenkat</b> <span dir="ltr"><<a href="mailto:ovvenkatesan@gmail.com">ovvenkatesan@gmail.com</a>></span><br>Date: Thu, Oct 28, 2010 at 11:47 AM<br>Subject: problem with ODBC connection in new Git version<br>
To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br><br><br><div dir="ltr">Hi, <br><br>I cant connect to the ODBC using Lua via <b>freeswitch.Dbh</b><br>
<span style="background-color: rgb(153, 255, 153);"><br>I am using below script to connect to the database </span><br><b>local dbh = assert(freeswitch.Dbh("dsn_name","venkat","venkat123"))</b><br>
<br><span style="background-color: rgb(153, 255, 153);">I am getting below error while executing the script </span><br><b style="background-color: rgb(255, 102, 102);">2010-10-28 11:45:50.174582 [CRIT] switch_core_sqldb.c:356 Failure! ODBC NOT AVAILABLE!</b><br>
<span style="background-color: rgb(153, 255, 153);"><span style="background-color: rgb(255, 255, 255);">previously it was working fine. recently, <br>I have formatted my server and installed latest git version.<br> After that I am getting this error </span><br>
<br><br>I can to connect to the DB using below isql comman </span><br><b>isql dsn_name venkat venkat123</b><br><br><span style="background-color: rgb(153, 255, 153);">I am using <br><br></span><b>FreeSWITCH Version 1.0.head (git-b639aeb 2010-10-27 00-57-13 -0400)</b><br>
<b>CENT OS 5.3</b><br clear="all"><br><br>-- <br><div dir="ltr"><br>If you have come to help me, you are wasting your time. <br>If you have come to because your liberation is bound up in mine, we can work together.<br><br>
<br>Regards<br>Venkatesan OV.</div><br>
</div>
</div><br><br clear="all"><br>-- <br><div dir="ltr"><br>If you have come to help me, you are wasting your time. <br>If you have come to because your liberation is bound up in mine, we can work together.<br><br> <br>Regards<br>
Venkatesan OV.</div><br>
</div>