<div dir="ltr">Hi Steve, <br><br>It works. I thought that, it has enabled by default.<br>thanks again,<br><br>Regards,<br>Venkat. <br><br><div class="gmail_quote">On Thu, Oct 28, 2010 at 1:10 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;</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;">You have compiled FS without ODBC support. Did you configure with<br>
--enable-core-odbc-support?<br>
<br>
-Steve<br>
<div><div></div><div class="h5"><br>
<br>
On 28 October 2010 07:17, ovvenkat &lt;<a href="mailto:ovvenkatesan@gmail.com">ovvenkatesan@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I cant connect to the ODBC using Lua via freeswitch.Dbh<br>
&gt;<br>
&gt; I am using below script to connect to the database<br>
&gt; local dbh = assert(freeswitch.Dbh(&quot;dsn_name&quot;,&quot;venkat&quot;,&quot;venkat123&quot;))<br>
&gt;<br>
&gt; I am getting below error while executing the script<br>
&gt; 2010-10-28 11:45:50.174582 [CRIT] switch_core_sqldb.c:356 Failure! ODBC NOT<br>
&gt; AVAILABLE!<br>
&gt; previously it was working fine. recently,<br>
&gt; I have formatted my server and installed latest git version.<br>
&gt;  After that I am getting this error<br>
&gt;<br>
&gt;<br>
&gt; I can to connect to the DB using below isql comman<br>
&gt; isql dsn_name venkat venkat123<br>
&gt;<br>
&gt; I am using<br>
&gt;<br>
&gt; FreeSWITCH Version 1.0.head (git-b639aeb 2010-10-27 00-57-13 -0400)<br>
&gt; CENT OS 5.3<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; If you have come to help me, you are wasting your time.<br>
&gt; If you have come to because your liberation is bound up in mine, we can work<br>
&gt; together.<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Venkatesan OV.<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<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>-- <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>