Thank you.

I have compiled freeswitch with postgresql core as per https://freeswitch.org/confluence/display/FREESWITCH/PostgreSQL+in+the+core
I read many documentation pages but am still confused on few points...

1- Can freeswitch.dbh be used directly as core dsn (without ODBC Like the DSN used at freeswitch startup). If yes would it support connection pooling?

2- Can freeswitch.dbh be used to connect to some different database (Then core database) in lua scripts?







On Wed, Jan 14, 2015 at 2:06 AM, Bote Man <bote_radio@botecomm.com> wrote:

Surely you mean the Confluence pages at

https://freeswitch.org/confluence/display/FREESWITCH/Lua+freeswitch+dbh

 

https://freeswitch.org/confluence/display/FREESWITCH/Databases (formerly DSN)

 

That nasty old wiki is deprecated, I don't know why people are still linking to it.

 

Bote

 

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre
Sent: Tuesday, 13 January, 2015 09:19
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Database query from dialplan

 

Use freeswitch.Dbh (https://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh)

 

It's stable and uses FreeSWITCH's connection pools.

 

It supports any FreeSWITCH DSNs - so sqlite, ODBC or postgresql native driver.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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