尽量选择干净的 Debian 12 系统
如果已安装了 PostgreSQL, 要卸载干净
wget -O - https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/debian/pre-install.sh | sh;
做完这一步之后,编辑 /usr/src/fusionpbx-install.sh/debian/resources/config.sh
可以参考下面的配置:
# FusionPBX Settings
domain_name=ip_address # hostname, ip_address or a custom value
system_username=admin # default username admin
system_password=admin # random or a custom value
system_branch=5.4 # master, 5.4
# FreeSWITCH Settings
switch_branch=stable # master, stable
switch_source=false # true (source compile) or false (binary package)
switch_package=true # true (binary package) or false (source compile)
switch_version=1.10.12 # which source code to download, only for source
switch_tls=true # true or false
switch_token=******* # Get the auth token from https://signalwire.com
其他的可以不动
cd /usr/src/fusionpbx-install.sh/debian && ./install.sh
不建议 FreeSWITCH 源码编译, 从 github 克隆源码时灵时不灵,赌运气了
安装成功之后可看官方手册
https://docs.fusionpbx.com/en/latest/getting_started/quick_install.html
论坛地址在此: