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

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
./configurednf 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.lryc.cn/news/527845.html

相关文章:

  • docker如何查看容器启动命令(已运行的容器)
  • 正则表达式以及Qt中的使用
  • 当高兴、尊重和优雅三位一体是什么情况吗?
  • Vue 3 中的 TypeScript:接口、自定义类型与泛型
  • 【Super Tilemap Editor使用详解】(十六):高级主题:深入理解 Super Tilemap Editor
  • 如何运用python爬虫爬取知网相关内容信息?
  • 2025年数学建模美赛 A题分析(2)楼梯使用频率数学模型
  • 云原生:构建现代化应用的基石
  • 18.Word:数据库培训课程❗【34】
  • 批量创建ES索引
  • RoboVLM——通用机器人策略的VLA设计哲学:如何选择骨干网络、如何构建VLA架构、何时添加跨本体数据
  • 25美赛ABCDEF题详细建模过程+可视化图表+参考论文+写作模版+数据预处理
  • 基于RIP的MGRE VPN综合实验
  • 如何获取小程序的code在uniapp开发中
  • 【Linux】 冯诺依曼体系与计算机系统架构全解
  • RDMA 工作原理 | 支持 RDMA 的网络协议
  • Autosar-Os是怎么运行的?(多核系统运行)
  • golang命令大全4--测试与调试
  • 第27篇 基于ARM A9处理器用C语言实现中断<三>
  • linux下使用脚本实现对进程的内存占用自动化监测
  • 安宝特方案 | 智能培训:安宝特AR如何提升企业技能培训的效率与互动性
  • golang通过AutoMigrate方法自动创建table详解
  • 【信息系统项目管理师-选择真题】2013上半年综合知识答案和详解
  • 智能调度体系与自动驾驶技术优化运输配送效率的研究——兼论开源AI智能名片2+1链动模式S2B2C商城小程序的应用潜力
  • 【软件测试项目实战 】淘宝网:商品购买功能测试
  • [牛客]公交线路(dijkstra+链式前向星)
  • SpringAI 搭建智能体(二):搭建客服系统智能体
  • 豆包MarsCode:前缀和计算问题
  • 【16届蓝桥杯寒假刷题营】第2期DAY5
  • Python 合并 Excel 单元格