当前位置: 首页 > article >正文

freeswitch在centos上编译过程

操作系统:centos9-last

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)
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

模块信息 #号为编译失败

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

http://www.kler.cn/a/522239.html

相关文章:

  • 乌兰巴托的夜---音乐里的故事
  • PostgreSQL 数据备份与恢复:掌握 pg_dump 和 pg_restore 的最佳实践
  • 8639 折半插入排序
  • 汇编的使用总结
  • 最长递增——蓝桥杯
  • SuperAGI - 构建、管理和运行 AI Agent
  • 白平衡与色温:摄影中的色彩密码
  • 2025_1_27 C语言内存,递归,汉诺塔问题
  • 二叉树(补充)
  • 51单片机开发:IO扩展(串转并)实验
  • 基于单片机的家用无线火灾报警系统的设计
  • PETSc源码分析: Time Integrators
  • 将 OneLake 数据索引到 Elasticsearch - 第 1 部分
  • C语言中的static关键字在函数和变量声明中的不同作用是什么?
  • AI学习指南Ollama篇-Ollama模型的量化与优化
  • MMDetection 详细安装过程
  • Elasticsearch的索引生命周期管理
  • RocketMQ实战—1.订单系统面临的技术挑战
  • 使用 OpenResty 构建高效的动态图片水印代理服务20250127
  • 批量处理多个模型的预测任务
  • 甘油单油酸酯行业分析
  • 常见的多媒体框架(FFmpeg GStreamer DirectShow AVFoundation OpenMax)
  • Autogen_core: Tool Use
  • 团体程序设计天梯赛-练习集——L1-023 输出GPLT
  • PyTorch API 详细中文文档,基于PyTorch2.5
  • 【PySide6快速入门】QFileDialog 文件选择对话框