<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"><<a href="mailto:steveayre@gmail.com">steveayre@gmail.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;">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 <<a href="mailto:ovvenkatesan@gmail.com">ovvenkatesan@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I cant connect to the ODBC using Lua via freeswitch.Dbh<br>
><br>
> I am using below script to connect to the database<br>
> local dbh = assert(freeswitch.Dbh("dsn_name","venkat","venkat123"))<br>
><br>
> I am getting below error while executing the script<br>
> 2010-10-28 11:45:50.174582 [CRIT] switch_core_sqldb.c:356 Failure! ODBC NOT<br>
> AVAILABLE!<br>
> 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<br>
><br>
><br>
> I can to connect to the DB using below isql comman<br>
> isql dsn_name venkat venkat123<br>
><br>
> I am using<br>
><br>
> FreeSWITCH Version 1.0.head (git-b639aeb 2010-10-27 00-57-13 -0400)<br>
> CENT OS 5.3<br>
><br>
><br>
> --<br>
><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<br>
> together.<br>
><br>
><br>
> Regards<br>
> Venkatesan OV.<br>
><br>
</div></div>> _______________________________________________<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>
_______________________________________________<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>