[Freeswitch-users] Connecting freeswitch to postgresql

Michael Jerris mike at jerris.com
Fri May 25 00:17:33 UTC 2018


core-db-dsn in switch.conf.xml covers the core db, there is additional settings for mod_sofia, and a var to set for some things in mod_verto.  That probably covers most of it.  Each module is different and has settings for things like this.

> On May 24, 2018, at 8:13 PM, Blackhold <blackholdmailer at gmail.com> wrote:
> 
> wich string I have to add?
> 
> <param name="core-db-dsn" value="pgsql://hostaddr=127.0.0.1 dbname=freeswitch_db user=freeswitch_user password='XXX' options='-c client_min_messages=NOTICE'" />
> 
> or
> 
> <param name="odbc-dsn" value="pgsql://hostaddr=127.0.0.1 dbname=freeswitch_db user=freeswitch_user password='XXX' options='-c client_min_messages=NOTICE' application_name='freeswitch'" />
> 
> ?
> 
> for example for file conf/sip_profiles/internal.xml:231
> 
> wich modules needs db connection?
> 
> thanks!




More information about the FreeSWITCH-users mailing list