vars中增加
<X-PRE-PROCESS cmd="set" data="dsn=pgsql://host=localhost dbname=freeswitch user=fusionpbx password='password' options='-c client_min_messages=NOTICE' application_name='freeswitch'" />
<X-PRE-PROCESS cmd="set" data="dsn_callcenter=pgsql://hostaddr=127.0.0.1 dbname=freeswitch user=freeswitch password='password' options='-c client_min_messages=NOTICE' application_name='freeswitch'" /> //增加该行可专门设置callcenter的数据库配置
由于fusionpbx完全可以通过后台管理,所以vars修改可通过登录后台打开Advanced->Variables页面进行设置,不要直接修改vars.xml文件,否则后台操作后该文件会被重新覆盖生成配置就丢失了~