[Freeswitch-users] Connect to PostgreSQL database

Ken Rice krice at freeswitch.org
Sat Aug 1 09:43:28 PDT 2009


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 at gmail.com>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Sat, 1 Aug 2009 12:35:09 -0400
To: <freeswitch-users at 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 at 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 at gmail.com>
> Reply-To: <freeswitch-users at lists.freeswitch.org>
> Date: Sat, 1 Aug 2009 12:01:36 +0530
> To: freeswitch-users <freeswitch-users at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090801/3f719bdb/attachment-0002.html 


More information about the FreeSWITCH-users mailing list