problem with ODBC connection in new Git version
Hi, I cant connect to the ODBC using Lua via *freeswitch.Dbh* I am using below script to connect to the database *local dbh = assert(freeswitch.Dbh("dsn_name","venkat","venkat123"))* I am getting below error while executing the script *2010-10-28 11:45:50.174582 [CRIT] switch_core_sqldb.c:356 Failure! ODBC NOT AVAILABLE!* previously it was working fine. recently, I have formatted my server and installed latest git version. After that I am getting this error I can to connect to the DB using below isql comman *isql dsn_name venkat venkat123* I am using *FreeSWITCH Version 1.0.head (git-b639aeb 2010-10-27 00-57-13 -0400)* *CENT OS 5.3* -- If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together. Regards Venkatesan OV.
Hi, for your information, I have copied odbc configuration files to */etc/* directory thanks in advance, Venkat. ---------- Forwarded message ---------- From: ovvenkat <ovvenkatesan@gmail.com> Date: Thu, Oct 28, 2010 at 11:47 AM Subject: problem with ODBC connection in new Git version To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Hi, I cant connect to the ODBC using Lua via *freeswitch.Dbh* I am using below script to connect to the database *local dbh = assert(freeswitch.Dbh("dsn_name","venkat","venkat123"))* I am getting below error while executing the script *2010-10-28 11:45:50.174582 [CRIT] switch_core_sqldb.c:356 Failure! ODBC NOT AVAILABLE!* previously it was working fine. recently, I have formatted my server and installed latest git version. After that I am getting this error I can to connect to the DB using below isql comman *isql dsn_name venkat venkat123* I am using *FreeSWITCH Version 1.0.head (git-b639aeb 2010-10-27 00-57-13 -0400)* *CENT OS 5.3* -- If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together. Regards Venkatesan OV. -- If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together. Regards Venkatesan OV.
You have compiled FS without ODBC support. Did you configure with --enable-core-odbc-support? -Steve On 28 October 2010 07:17, ovvenkat <ovvenkatesan@gmail.com> wrote:
Hi,
I cant connect to the ODBC using Lua via freeswitch.Dbh
I am using below script to connect to the database local dbh = assert(freeswitch.Dbh("dsn_name","venkat","venkat123"))
I am getting below error while executing the script 2010-10-28 11:45:50.174582 [CRIT] switch_core_sqldb.c:356 Failure! ODBC NOT AVAILABLE! previously it was working fine. recently, I have formatted my server and installed latest git version. After that I am getting this error
I can to connect to the DB using below isql comman isql dsn_name venkat venkat123
I am using
FreeSWITCH Version 1.0.head (git-b639aeb 2010-10-27 00-57-13 -0400) CENT OS 5.3
--
If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together.
Regards Venkatesan OV.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Steve, It works. I thought that, it has enabled by default. thanks again, Regards, Venkat. On Thu, Oct 28, 2010 at 1:10 PM, Steven Ayre <steveayre@gmail.com> wrote:
You have compiled FS without ODBC support. Did you configure with --enable-core-odbc-support?
-Steve
On 28 October 2010 07:17, ovvenkat <ovvenkatesan@gmail.com> wrote:
Hi,
I cant connect to the ODBC using Lua via freeswitch.Dbh
I am using below script to connect to the database local dbh = assert(freeswitch.Dbh("dsn_name","venkat","venkat123"))
I am getting below error while executing the script 2010-10-28 11:45:50.174582 [CRIT] switch_core_sqldb.c:356 Failure! ODBC NOT AVAILABLE! previously it was working fine. recently, I have formatted my server and installed latest git version. After that I am getting this error
I can to connect to the DB using below isql comman isql dsn_name venkat venkat123
I am using
FreeSWITCH Version 1.0.head (git-b639aeb 2010-10-27 00-57-13 -0400) CENT OS 5.3
--
If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together.
Regards Venkatesan OV.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together. Regards Venkatesan OV.
participants (2)
-
ovvenkat
-
Steven Ayre