[Freeswitch-users] freeswitch with postgres setup process?

Ken Rice krice at freeswitch.org
Mon Apr 11 01:44:40 MSD 2016


Thats because the db strings for native pgsql are libpq connect strings dsn:user:pass is odbc

Sent from my iPhone

> On Apr 10, 2016, at 3:37 PM, jungle Boogie <jungleboogie0 at gmail.com> wrote:
> 
> HI Ken,
>> On 10 April 2016 at 10:19, Ken Rice <krice at freeswitch.org> wrote:
>> FreeSWITCH if configured at build time to use postgresql can use it directly
>> or via odbc just by setting the DSN settings appropriately in the configs.
>> Check confluence for the various module configs where you might want to sue
>> a DB backend
> 
> Okay, in the conf/autoload_configs/switch.conf.xml, I made this change:
> 
> !-- <param name="core-db-dsn" value="dsn:username:password" /> -->
> <param name="core-db-dsn" value="dsn:freeswitch:xxx" />
> 
> 
> Stopped and started FS. I still don't see any tables on the db.
> 
> Is this the config flag to use posgres:
> ./configure --enable-core-pgsql-support
> 
> Thanks!
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at 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 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



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list