Dear all, I installed postgresql database in my machine. So now I need to connect the database from freeswitch.When I searched about the site.They told , to load the mod_lcr module. I followed the following steps. * Edit the modules.conf file and uncommented the applications/mod_lcr line * make mod_lcr-install * edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and uncomment the mod_lcr line. * Reload the freeswitch Where I made a mistake? Tell the steps to connect the postreSQL database. -- Regards, Thangappan.M
You need to look at using ODBC... That is what pretty much everything uses... Connect FS to ODBC and ODBC to pgsql... From: "Thangappan.M" <thangappan143@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Sat, 1 Aug 2009 12:01:36 +0530 To: freeswitch-users <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Connect to PostgreSQL database Dear all, I installed postgresql database in my machine. So now I need to connect the database from freeswitch.When I searched about the site.They told , to load the mod_lcr module. I followed the following steps. * Edit the modules.conf file and uncommented the applications/mod_lcr line * make mod_lcr-install * edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and uncomment the mod_lcr line. * Reload the freeswitch Where I made a mistake? Tell the steps to connect the postreSQL database. -- Regards, Thangappan.M _______________________________________________ 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
Thangappa, Are you using Perl Event Socket? In that use, you can use Perl DBI to connect to any DB instead of using the FS's ODBC module. On Sat, Aug 1, 2009 at 7:52 AM, Ken Rice <krice@freeswitch.org> wrote:
You need to look at using ODBC... That is what pretty much everything uses... Connect FS to ODBC and ODBC to pgsql...
------------------------------ *From: *"Thangappan.M" <thangappan143@gmail.com> *Reply-To: *<freeswitch-users@lists.freeswitch.org> *Date: *Sat, 1 Aug 2009 12:01:36 +0530 *To: *freeswitch-users <freeswitch-users@lists.freeswitch.org> *Subject: *[Freeswitch-users] Connect to PostgreSQL database
Dear all,
I installed postgresql database in my machine. So now I need to connect the database from freeswitch.When I searched about the site.They told , to load the mod_lcr module.
I followed the following steps. * Edit the modules.conf file and uncommented the applications/mod_lcr line * make mod_lcr-install * edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and uncomment the mod_lcr line. * Reload the freeswitch
Where I made a mistake? Tell the steps to connect the postreSQL database.
-- Regards, Thangappan.M
------------------------------ _______________________________________________ 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
He specifically said from FreeSWITCH... The ONLY way to connect FreeSWITCH directory to any database (this does not includes external scripts running as a separate process using ESL) is to either a) write your own custom module to do so or b) use ODBC on the modules that support that now From: Shameem Shiek <gshfreesw@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Sat, 1 Aug 2009 12:35:09 -0400 To: <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Connect to PostgreSQL database Thangappa, Are you using Perl Event Socket? In that use, you can use Perl DBI to connect to any DB instead of using the FS's ODBC module. On Sat, Aug 1, 2009 at 7:52 AM, Ken Rice <krice@freeswitch.org> wrote:
You need to look at using ODBC... That is what pretty much everything uses... Connect FS to ODBC and ODBC to pgsql...
From: "Thangappan.M" <thangappan143@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Sat, 1 Aug 2009 12:01:36 +0530 To: freeswitch-users <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Connect to PostgreSQL database
Dear all,
I installed postgresql database in my machine. So now I need to connect the database from freeswitch.When I searched about the site.They told , to load the mod_lcr module.
I followed the following steps. * Edit the modules.conf file and uncommented the applications/mod_lcr line * make mod_lcr-install * edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and uncomment the mod_lcr line. * Reload the freeswitch
Where I made a mistake? Tell the steps to connect the postreSQL database.
-- Regards, Thangappan.M
_______________________________________________ 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
_______________________________________________ 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
participants (3)
-
Ken Rice
-
Shameem Shiek
-
Thangappan.M