专为易燃易爆环境设计的扩音电话
基于SIP协议的网络电话机
基于SIP协议的IP对讲机
实现不同通信网络之间的互联互通。
为应急通信系统提供应急广播设备
专用的应急指挥通中心通信调度设备
提供寻呼、广播、对讲、电话、报警等功能...
集成了语音、视频、即时消息、会议的通信平台...
基于电话通信技术,为企业提供客服呼叫方案...
用于实时调度和指挥工作,快速响应和协调沟通...
为制造业、矿业、石油化工、等场所,构建可靠的通信方案...
为高速公路、地铁、隧道等交通场所提供应通信方案...
处理客户的查询、投诉、技术支持、订单处理...
专门为处理紧急情况而设计的通信系统
专门设计用于危险环境中的通信系统
怎么进入江南游戏官网
yum update
yum install gcc make
yum install git
git clone https://github.com/freeswitch/freeswitch.git
cd freeswitch
./bootstrap.sh ./configure make make install
vi /etc/freeswitch/autoload_configs/*.xml
/usr/local/freeswitch/bin/freeswitch -nc
nmake nmake install
notepad %ProgramFiles%\FreeSWITCH\conf\*.xml
%ProgramFiles%\FreeSWITCH\bin\freeswitch.exe
yum install gcc make git libjansson-devel libcurl-devel
git clone https://github.com/freeswitch/freeswitch.git cd freeswitch ./bootstrap.sh ./configure make make install
#!/bin/bash # 更新系统 sudo yum update -y # 安装依赖 sudo yum install -y git autoconf automake libtool gcc-c++ pkgconfig libjansson-devel libcurl-devel libedit-devel ncurses-devel sqlite-devel opus-devel speex-devel ldns-devel libsndfile-devel libxml2-devel libyuv-devel libvpx-devel lame-devel libogg-devel libvorbis-devel libtheora-devel ffmpeg-devel libpq-devel libmemcached-devel libldns-devel libevent-devel # 下载 FreeSWITCH git clone https://github.com/signalwire/freeswitch.git # 进入 FreeSWITCH 目录 cd freeswitch # 编译和安装 ./bootstrap.sh -j ./configure make sudo make install
sudo yum install -y docker sudo systemctl start docker sudo systemctl enable docker
docker pull freeswitch/freeswitch:latest
docker run -d -p 5060:5060/udp -p 8021:8021 -p 7443:7443 freeswitch/freeswitch:latest
sudo yum install -y keepalived
/etc/keepalived/keepalived.conf
! Configuration File for keepalived global_defs { router_id LVS_DEVEL } vrrp_instance VI_1 { state MASTER interface eth0 virtual_router_id 51 priority 100 advert_int 1 authentication { auth_type PASS auth_pass 1111 } virtual_ipaddress { 192.168.1.100 } }
! Configuration File for keepalived global_defs { router_id LVS_DEVEL } vrrp_instance VI_1 { state BACKUP interface eth0 virtual_router_id 51 priority 90 advert_int 1 authentication { auth_type PASS auth_pass 1111 } virtual_ipaddress { 192.168.1.100 } }
state
MASTER
BACKUP
priority
virtual_ipaddress
/etc/freeswitch/autoload_configs/event_socket.conf.xml
<configuration name="event_socket.conf" description="Socket Client"> <settings> <param name="listen-ip" value="192.168.1.100"/> <param name="listen-port" value="8021"/> </settings> </configuration>
sudo systemctl start keepalived sudo systemctl start freeswitch
sudo yum install -y mysql-server sudo systemctl start mysqld sudo systemctl enable mysqld
CREATE DATABASE freeswitch_records; USE freeswitch_records; CREATE TABLE recordings ( id INT AUTO_INCREMENT PRIMARY KEY, call_id VARCHAR(255), start_time DATETIME, end_time DATETIME, duration INT, file_path VARCHAR(255) );
freeswitch_records
recordings
id
call_id
start_time
end_time
duration
file_path
/etc/freeswitch/autoload_configs/modules.conf.xml
<configuration name="modules.conf" description="Modules"> <modules> <load module="mod_db_mysql"/> </modules> </configuration>
/etc/freeswitch/autoload_configs/dialplan/default.xml
<extension name="recordings"> <condition field="destination_number" expression="^(.*)$"> <action application="set" data="RECORD_STEREO=true"/> <action application="set" data="RECORD_FILENAME=${strftime(%Y-%m-%d-%H-%M-%S)}_${caller_id_number}_${destination_number}.wav"/> <action application="record_session" data="${record_filename}"/> <action application="mysql" data="insert into freeswitch_records.recordings (call_id, start_time, end_time, duration, file_path) values ('${uuid}', '${strftime(%Y-%m-%d %H:%M:%S)}', '${strftime(%Y-%m-%d %H:%M:%S)}', '${record_duration}', '${record_filename}')"/> </condition> </extension>
mod_db_mysql
sudo yum install -y freeswitch-mod-db-mysql
<configuration name="modules.conf" description="Modules"> <modules> <load module="mod_db_mysql"/> <param name="dbhost" value="localhost"/> <param name="dbport" value="3306"/> <param name="dbname" value="freeswitch_records"/> <param name="dbuser" value="root"/> <param name="dbpass" value="password"/> </modules> </configuration>
下一篇
分享
FreeSWITCH 是一个开源的软交换平台,主要用于构建语音、视频和聊天等通信......
通信百科
2024-11-04
IP电话软件推荐IP电话软件,也称为VoIP(Voice over Intern......
2024-10-14
UCaaS(统一通信即服务)平台是一种云服务,它提供了语音、视频、即时消息、会议......
2024-09-15