系统

debian11

 

安装依赖

sudo apt install libtiff-dev libtool-bin libsqlite3-dev libcurl4-openssl-dev libpcre3-dev libspeexdsp-dev libldns-dev libedit-dev nasm

 

sofia-sip

git clone https://github.com/freeswitch/sofia-sip
cd sofia-sip
./bootstrap
./configure
make

 

spandsp

git clone https://github.com/freeswitch/spandsp
cd spandsp
./bootstrap
./configure
make

 

freeswitch

cd freeswitch
./configure --enable-portable-binary \
--prefix=/home/`whoami`/fs_bin --with-gnu-ld \
--enable-zrtp --with-erlang --with-openssl \
--without-python
make install

 

运行

bin/freeswitch -nc
bin/fs_cli

 

linphone配置:

虚拟机里面的话,记得把视频关闭,否则在呼叫的时候崩溃,很头疼
sip账户管理,添加
您的sip地址:sip:1000@fs_ip
sip代理地址:fs_ip

 

相关文章: