使用postgresql作为FreeSWITCH内核数据库

使用postgresql作为FreeSWITCH内核数据库

            来自于: [https://wiki.freeswitch.org/wiki/PostgreSQL_in_the_core](https://wiki.freeswitch.org/wiki/PostgreSQL_in_the_core)

一、 安装依赖包

CentOS

yum install libpq-devel

Debian

sudo apt-get install libpq-dev

二、 配置.pc 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

三、 switch.conf.xml

`html

上海老李,QQ:1354608370,FreeSWITCH QQ群: