PostgreSQL in the core
Postgres native support was added in FreeSWITCH 1.2.5.
libpq and the associated dev packages are required
yum install libpq-devel
sudo apt-get install libpq-dev
If you have installed a later version of PostgreSQL from a source other then your distro's repositories, and its installed to a non-standard location such as /usr/pgsql-9.3 you will need to adjust your PATH and/or PKG_CONFIG_PATH environment variables to properly locate either pg_config or libpq.pc
export PKG_CONFIG_PATH=/usr/pgsql-9.3/lib/pkgconfig export PATH=/usr/pgsql-9.3/bin:$PATH ./configure --enable-core-pgsql-support
Adjust your PKG_CONFIG_PATH and PATH as required for your platform.
<param name="core-db-dsn" value="pgsql://hostaddr=127.0.0.1 dbname=freeswitch user=freeswitch password= options='-c client_min_messages=NOTICE' application_name='freeswitch'" />