freeswitch在centos上编译过程

操作系统:centos9-last

bash 复制代码
usr/local/freeswitch/bin/freeswitch -version
FreeSWITCH version: 1.10.13-dev+git~20250125T131725Z~3f1e4bf90a~64bit (git 3f1e4bf 2025-01-25 13:17:25Z 64bit)
bash 复制代码
vi /etc/ssh/sshd_config
ip a
nmtui
reboot
ip a
curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9 https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9
sudo chmod 644 /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
ip a
nmtui
reboot
dnf update
dnf install epel-release -y
dnf update
dnf update -y
dnf groupinstall "Development Tools" -y
dnf install yasm -y
dnf install pcre pcre-devel -y
dnf install speex speexdsp speex-devel speexdsp-devel -y
dnf install libedit-devel -y
dnf install libtiff-devel -y
dnf install wget -y
dnf install libjpeg-devel -y
dnf install spandsp-devel
git clone https://github.com/signalwire/freeswitch.git
git clone https://github.com/freeswitch/spandsp.git
git clone https://github.com/freeswitch/sofia-sip
ls
cd sofia-sip/
ls
./bootstrap.sh 
make && make install
./configure
make && make install
cd ..
ls
cd spandsp/
ls
./bootstrap.sh 
rm -rf config
./bootstrap.sh 
./autogen.sh
./configure
make && make install
cd ~/freeswitch/
ls
./bootstrap.sh 
./configure
dnf install libmariadb
dnf install libmariadb-devel
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
dnf install libmariadb-devel
./configure
dnf install sqlite-devel
./configure
dnf install libcurl-devel
./configure
dnf install libldns
dnf install libldns-devel
dnf install dns-devel
dnf install ldns-devel
./configure
 dnf install libks-devel
cd ..
git clone https://github.com/signalwire/libks.git
ls
cd libks/
ls
cmake .
dnf install cmake
cmake .
make
ls
./scan_build.sh 
dnf install uuid
cmake .
dnf install libuuid-devel
cmake .
make && make install
cd ~/freeswitch/
ls
make
./configure
make
sudo dnf install lua-devel
make
dnf install libopus-devel
sudo dnf install opus-devel
make
cd ..
git clone https://gitlab.xiph.org/xiph/opus.git
cd opus
LS
ls
./autogen.sh 
ls
./git clone https://gitlab.xiph.org/xiph/opus.git
cd opus
./configure 
make && make install
cd ../freeswitch/
make
dnf install libopus-dev
make
dnf install libsndfile-dev
rpm -qa | grep opus
sudo dnf install pkg-config
cd ..
git clone https://gitlab.com/libsndfile/libsndfile.git
git clone https://github.com/libsndfile/libsndfile.git
ls
cd libsndfile/
ls
mkdir build
cd build/
cmake ..
dnf install sndfile
dnf install libvorbis-devel
cmake ..
sudo dnf install flac-devel
cmake ..
make && make install
cd ../../freeswitch/
ls
make
make install
cd /usr/local/freeswitch/
ls
cd bin/
ls
./freeswitch 
cd /usr/local/freeswitch/bin/
./fs_cli 
ps aux | grep freeswitch
groupadd freeswitch 
useradd -g freeswitch freeswitch
chown -R freeswitch:freeswitch /usr/local/freeswitch
vi /etc/systemd/system/freeswitch.service
systemctl daemon-reload
systemctl start freeswitch
systemctl enable freeswitch
vi ~/.bash_profile
reboot

模块信息 #号为编译失败

bash 复制代码
applications/mod_commands
applications/mod_conference
applications/mod_curl
applications/mod_db
applications/mod_dptools
applications/mod_enum
applications/mod_esf
applications/mod_expr
applications/mod_fifo
applications/mod_fsv
applications/mod_hash
applications/mod_httapi
applications/mod_sms
#applications/mod_spandsp
applications/mod_valet_parking
applications/mod_voicemail
codecs/mod_amr
codecs/mod_b64
codecs/mod_g723_1
codecs/mod_g729
codecs/mod_h26x
#codecs/mod_opus
dialplans/mod_dialplan_asterisk
dialplans/mod_dialplan_xml
endpoints/mod_loopback
endpoints/mod_rtc
endpoints/mod_skinny
endpoints/mod_sofia
endpoints/mod_verto
event_handlers/mod_cdr_csv
event_handlers/mod_cdr_sqlite
event_handlers/mod_event_socket
event_handlers/mod_json_cdr
event_handlers/mod_odbc_cdr
formats/mod_local_stream
formats/mod_native_file
formats/mod_png
#formats/mod_sndfile
formats/mod_tone_stream
languages/mod_lua
loggers/mod_console
loggers/mod_logfile
loggers/mod_syslog
say/mod_say_en
xml_int/mod_xml_cdr
xml_int/mod_xml_curl
xml_int/mod_xml_rpc
xml_int/mod_xml_scgi
相关推荐
贾宝玉的玉宝贾11 天前
FreeSWITCH 简单图形化界面55 - 拨号应用tansfer盲转/拨号计划跳转使用
voip·freeswitch·sip·ippbx·图形化界面·freeswitch图形化界面
贾宝玉的玉宝贾11 天前
FreeSWITCH 简单图形化界面54 - 拨号应用att_xfer协商转移使用
voip·freeswitch·ippbx·pbx·sip通信
wMoqi1 个月前
freeswitch接入E1/T1数据中继语音网关配置
freeswitch·数字中继网关
代码浪人2 个月前
Freeswitch-基础配置-wss-api简化-acl
freeswitch
贾宝玉的玉宝贾2 个月前
FreeSWITCH 简单图形化界面52 - 拨号应用 Answer 介绍
python·django·voip·freeswitch·sip·ippbx·jssip
小毅&Nora3 个月前
【人工智能】【AI外呼】 ⑤ FreeSWITCH 深度解析:原理、安装、在智能外呼中的核心地位与未来演进
人工智能·freeswitch·ai外呼
Mike_Zhang3 个月前
FreeSWITCH开启silk编码及转码
voip·freeswitch
Mike_Zhang4 个月前
FreeSWITCH使用mod_fail2ban模块来提升安全
voip·freeswitch
Mike_Zhang4 个月前
FreeSWITCH使用RNNoise进行实时通话降噪
voip·freeswitch·音频技术