freeswitch on debain 一键安装
在 Linux 系统中,可以使用 Apt来安装 FreeSWITCH。以下是具体步骤:
一、安装 EPEL 仓库(如果系统中未安装)
添加TOKEN:
TOKEN=pat_XFDvN5bJ1eTQjFev45b4boRe
二、添加 FreeSWITCH源
wget --http-user=signalwire --http-password=$TOKEN -O /usr/share/keyrings/signalwire-freeswitch-repo.gpg https://freeswitch.signalwire.com/repo/deb/debian-unstable/signalwire-freeswitch-repo.gpg
echo "machine freeswitch.signalwire.com login signalwire password $TOKEN" > /etc/apt/auth.conf
chmod 600 /etc/apt/auth.conf
echo "deb [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-unstable/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
echo "deb-src [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-unstable/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list
三、安装 FreeSWITCH
apt-get update && apt-get install -y freeswitch-meta-all freeswitch-mod-cdr-pg-csv