VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
thangappan143 at gmail... Guest
|
Posted: Sat Aug 01, 2009 1:35 am Post 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 |
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Sat Aug 01, 2009 7:00 am Post subject: [Freeswitch-users] Connect to PostgreSQL database |
|
|
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 |
|
Back to top |
|
|
gshfreesw at gmail.com Guest
|
Posted: Sat Aug 01, 2009 11:41 am Post subject: [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 (krice@freeswitch.org)> wrote:
|
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Sat Aug 01, 2009 11:47 am Post subject: [Freeswitch-users] Connect to PostgreSQL database |
|
|
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|