【编译】
git clone https://freeswitch.org/stash/scm/fs/freeswitch.git
cd freeswitch/
./bootstrap.sh
sudo yum install libjpeg-devel sqlite-devel speex-devel speexdsp-devel ldns-devel libidn-devel unbound-devel libedit-devel openssl-devel libtiff-devel
sudo yum install yasm lua-devel opus-devel libsndfile-devel libcurl-devel
./configure
make
make install
【配置supervisord】
vi /etc/supervisord.d/freeswitch.conf
[program:freeswitch]
command = /usr/local/freeswitch/bin/freeswitch
directory = /usr/local/freeswitch
autostart = true
autorestart = true