操作系统: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_valet_parking
applications/mod_voicemail
codecs/mod_amr
codecs/mod_b64
codecs/mod_g723_1
codecs/mod_g729
codecs/mod_h26x
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_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