FreeSWITCH 安装配置

目录

168.1. FreeSWITCH

168.1.1. 注册用户并创建令牌

168.1.2. Rocky Linux / AlmiLinux 安装

168.1.3. 防火墙端口

168.1.4. 配置 freeswitch

168.1.5. switch.conf.xml

168.1.6. 网关配置

168.1.7. 新增号段

168.1.8. logfile.conf.xml

168.1.9. 视频通话

168.1.10. 语音邮箱(voicemail)

168.1.11. 多租户(多领域)配置

168.1.12. 组呼叫配置

168.1.13. 代接电话

168.1.14. MySQL 模块配置

168.1.15. 测试号码

168.1.16. fs_cli

168.1.17. 中文语音包

168.1.18. fusionPBX

168.1.19. 开发

168.2. Kamailio

168.2.1. Docker 安装 Kamailio

168.2.2. RPM 包安装 kamailio

168.2.3. 配置 kamailio

168.2.4. 管理 Kamailio

168.3. Yate - Yet Another Telephony Engine (includes SIP to H.323 translation)

168.3.1. Yate Server

168.3.2. 配置文件样本

168.3.3. 添加用户

168.3.4. regexroute.conf

168.3.5. 测试

168.3.6. SBC(SIP Session Border Controller) 会话边界控制器

168.3.7. 配置路由

168.3.8. 配置会议室

168.3.9. Yate Client

168.4. Gnu Gatekeeper

168.4.1. Gnu Gatekeeper Install

168.4.2. Gnu Gatekeeper Configure

168.4.3. Gnu Gatekeeper Test

168.5. OpenSIPS

168.5.1. 安装 OpenSIPS

168.5.2. 数据库部署

168.5.3. 测试 opensips

168.6. Asterisk (OpenSource Linux PBX that supports both SIP and H.323)

168.6.1. Redhat/CentOS/RockyLinux/AlmiLinux

168.6.2. 源码安装 asterisk-22

168.6.3. Ubuntu

168.6.4. RasPBX – Asterisk for Raspberry Pi

168.6.5. 配置文件

168.6.6. 拨号规则设置

168.6.7. pjsip

168.6.8. 配置例子

168.7. VOCAL (includes a SIP to H.323 translator)

168.8. RTP

168.8.1. RTPProxy

168.8.2. rtpengine

168.9. sngrep - SIP Messages flow viewer

168.9.1. Rocky Linux 安装 sngrep

168.9.2. MacOS

168.9.3. debian 安装sngrep

168.9.4. 命令行参数

168.9.5. UI 快捷鍵

168.10. 电话

168.10.1. Linksys/PAP2T-5.1.6(LS) 登录 freeSWITCH 和 asterisk 失败

168.10.2. Avaya

168.10.3. 电脑软件正常登录,手机APP正常登录,Yealink 电话无法登录

168.10.4. 软电话

168.11. FAQ

168.11.1. SIP ALG

安装环境 ubuntu 13.10

168.1. FreeSWITCH

☏ FreeSWITCH | SignalWire

168.1.1. 注册用户并创建令牌

前往 https://signalwire.com 注册账号

点击自己头像,选择“Personal Access Tokens” 进入个人访问令牌页面,然后点击“+ Add New” 创建令牌。

Token Name 处输入令牌名称,然后点击 “Generate Token” 生成令牌。

PERSONAL ACCESS TOKEN 下面一串字符,就是令牌,请复制出来并保存好。

168.1.2. Rocky Linux / AlmiLinux 安装

		
echo "netkiller" > /etc/yum/vars/signalwireusername
echo "pat_hbpgtYbJHMMS5Wcy868dW1o2" > /etc/yum/vars/signalwiretoken
dnf install -y https://$(< /etc/yum/vars/signalwireusername):$(< /etc/yum/vars/signalwiretoken)@freeswitch.signalwire.com/repo/yum/centos-release/freeswitch-release-repo-0-1.noarch.rpm epel-release
		
		

查看相关包

		
[root@netkiller ~]# dnf search freeswitch
FreeSWITCH Packages for Enterprise Linux 9 - x86_64                                                                                                    174 kB/s | 752 kB     00:04    
FreeSWITCH Packages for Enterprise Linux 9 - x86_64 - Debug                                                                                            168 kB/s | 752 kB     00:04    
FreeSWITCH Packages for Enterprise Linux 9 - x86_64 - Source                                                                                           174 kB/s | 752 kB     00:04    
========================================================================= Name & Summary Matched: freeswitch ==========================================================================
freeswitch.src : FreeSWITCH open source telephony platform
freeswitch.x86_64 : FreeSWITCH open source telephony platform
freeswitch-application-abstraction.x86_64 : FreeSWITCH mod_abstraction
freeswitch-application-avmd.x86_64 : FreeSWITCH voicemail detector
freeswitch-application-blacklist.x86_64 : FreeSWITCH blacklist module
freeswitch-application-callcenter.x86_64 : FreeSWITCH mod_callcenter Call Queuing Application
freeswitch-application-cidlookup.x86_64 : FreeSWITCH mod_cidlookup
freeswitch-application-conference.x86_64 : FreeSWITCH mod_conference
freeswitch-application-curl.x86_64 : FreeSWITCH mod_curl
freeswitch-application-db.x86_64 : FreeSWITCH mod_db
freeswitch-application-directory.x86_64 : FreeSWITCH mod_directory
freeswitch-application-distributor.x86_64 : FreeSWITCH mod_distributor
freeswitch-application-easyroute.x86_64 : FreeSWITCH mod_easyroute
freeswitch-application-enum.x86_64 : FreeSWITCH mod_enum
freeswitch-application-esf.x86_64 : FreeSWITCH mod_esf
freeswitch-application-expr.x86_64 : FreeSWITCH mod_expr
freeswitch-application-fifo.x86_64 : FreeSWITCH mod_fifo
freeswitch-application-fsk.x86_64 : FreeSWITCH mod_fsk
freeswitch-application-fsv.x86_64 : FreeSWITCH mod_fsv
freeswitch-application-hash.x86_64 : FreeSWITCH mod_hash
freeswitch-application-httapi.x86_64 : FreeSWITCH mod_httapi
freeswitch-application-http-cache.x86_64 : FreeSWITCH mod_http_cache
freeswitch-application-lcr.x86_64 : FreeSWITCH mod_lcr
freeswitch-application-limit.x86_64 : FreeSWITCH mod_limit
freeswitch-application-memcache.x86_64 : FreeSWITCH mod_memcache
freeswitch-application-mongo.x86_64 : FreeSWITCH mod_mongo
freeswitch-application-nibblebill.x86_64 : FreeSWITCH mod_nibblebill
freeswitch-application-rad_auth.x86_64 : FreeSWITCH mod_rad_auth
freeswitch-application-redis.x86_64 : FreeSWITCH mod_redis
freeswitch-application-rss.x86_64 : FreeSWITCH mod_rss
freeswitch-application-signalwire.x86_64 : FreeSWITCH mod_signalwire
freeswitch-application-sms.x86_64 : FreeSWITCH mod_sms
freeswitch-application-snapshot.x86_64 : FreeSWITCH mod_snapshot
freeswitch-application-snom.x86_64 : FreeSWITCH mod_snom
freeswitch-application-soundtouch.x86_64 : FreeSWITCH mod_soundtouch
freeswitch-application-spy.x86_64 : FreeSWITCH mod_spy
freeswitch-application-stress.x86_64 : FreeSWITCH mod_stress
freeswitch-application-translate.x86_64 : FreeSWITCH mod_translate
freeswitch-application-valet_parking.x86_64 : FreeSWITCH mod_valet_parking
freeswitch-application-video_filter.x86_64 : FreeSWITCH video filter bugs
freeswitch-application-voicemail.x86_64 : FreeSWITCH mod_voicemail
freeswitch-application-voicemail-ivr.x86_64 : FreeSWITCH mod_voicemail_ivr
freeswitch-asrtts-flite.x86_64 : FreeSWITCH mod_flite
freeswitch-asrtts-pocketsphinx.x86_64 : FreeSWITCH mod_pocketsphinx
freeswitch-asrtts-tts-commandline.x86_64 : FreeSWITCH mod_tts_commandline
freeswitch-asrtts-unimrcp.x86_64 : FreeSWITCH mod_unimrcp
freeswitch-codec-bv.x86_64 : BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-codec2.x86_64 : Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-h26x.x86_64 : H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-ilbc.x86_64 : iLCB Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-isac.x86_64 : iSAC Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-mp4v.x86_64 : MP4V Video Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-opus.x86_64 : Opus Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-passthru-amr.x86_64 : Pass-through AMR Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-passthru-amrwb.x86_64 : Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-passthru-g723_1.x86_64 : Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-passthru-g729.x86_64 : Pass-through g729 Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-silk.x86_64 : Silk Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-siren.x86_64 : Siren Codec support for FreeSWITCH open source telephony platform
freeswitch-codec-theora.x86_64 : Theora Video Codec support for FreeSWITCH open source telephony platform
freeswitch-config-vanilla.x86_64 : Basic vanilla config set for the FreeSWITCH Open Source telephone platform.
freeswitch-database-mariadb.x86_64 : MariaDB native support for FreeSWITCH
freeswitch-database-pgsql.x86_64 : PostgreSQL native support for FreeSWITCH
freeswitch-debuginfo.x86_64 : Debug information for package freeswitch
freeswitch-devel.x86_64 : Development package for FreeSWITCH open source telephony platform
freeswitch-endpoint-dingaling.x86_64 : Generic XMPP support for FreeSWITCH open source telephony platform
freeswitch-endpoint-portaudio.x86_64 : PortAudio endpoint support for FreeSWITCH open source telephony platform
freeswitch-endpoint-rtc.x86_64 : Verto endpoint support for FreeSWITCH open source telephony platform
freeswitch-endpoint-rtmp.x86_64 : RTPM Endpoint support for FreeSWITCH open source telephony platform
freeswitch-endpoint-skinny.x86_64 : Skinny/SCCP endpoint support for FreeSWITCH open source telephony platform
freeswitch-endpoint-verto.x86_64 : Verto endpoint support for FreeSWITCH open source telephony platform
freeswitch-event-cdr-mongodb.x86_64 : MongoDB CDR Logger for the FreeSWITCH open source telephony platform
freeswitch-event-cdr-pg-csv.x86_64 : PostgreSQL CDR Logger for the FreeSWITCH open source telephony platform
freeswitch-event-cdr-sqlite.x86_64 : SQLite CDR Logger for the FreeSWITCH open source telephony platform
freeswitch-event-erlang-event.x86_64 : Erlang Event Module for the FreeSWITCH open source telephony platform
freeswitch-event-format-cdr.x86_64 : JSON and XML Logger for the FreeSWITCH open source telephony platform
freeswitch-event-json-cdr.x86_64 : JSON CDR Logger for the FreeSWITCH open source telephony platform
freeswitch-event-multicast.x86_64 : Multicast Event System for the FreeSWITCH open source telephony platform
freeswitch-event-radius-cdr.x86_64 : RADIUS Logger for the FreeSWITCH open source telephony platform
freeswitch-event-rayo.x86_64 : Rayo (XMPP 3PCC) server for the FreeSWITCH open source telephony platform
freeswitch-event-snmp.x86_64 : SNMP stats reporter for the FreeSWITCH open source telephony platform
freeswitch-format-local-stream.x86_64 : Local File Streamer for the FreeSWITCH open source telephony platform
freeswitch-format-mod-shout.x86_64 : Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform
freeswitch-format-native-file.x86_64 : Native Media File support for the FreeSWITCH open source telephony platform
freeswitch-format-portaudio-stream.x86_64 : PortAudio Media Steam support for the FreeSWITCH open source telephony platform
freeswitch-format-shell-stream.x86_64 : Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform
freeswitch-format-ssml.x86_64 : Adds Speech Synthesis Markup Language (SSML) parser format for the FreeSWITCH open source telephony platform
freeswitch-format-tone-stream.x86_64 : Implements TGML Tone Generation for the FreeSWITCH open source telephony platform
freeswitch-freetdm.x86_64 : Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH
freeswitch-kazoo.x86_64 : Kazoo Module for the FreeSWITCH open source telephony platform
freeswitch-lang-de.x86_64 : Provides german language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
freeswitch-lang-en.x86_64 : Provides english language dependent modules and speech config for the FreeSWITCH Open Source telephone platform.
freeswitch-lang-es.x86_64 : Provides Spanish language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
freeswitch-lang-fr.x86_64 : Provides french language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
freeswitch-lang-he.x86_64 : Provides hebrew language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
freeswitch-lang-pt.x86_64 : Provides Portuguese language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
freeswitch-lang-ru.x86_64 : Provides russian language dependent modules and speech config for the FreeSWITCH Open Source telephone platform.
freeswitch-lang-sv.x86_64 : Provides Swedish language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
freeswitch-lua.x86_64 : Lua support for the FreeSWITCH open source telephony platform
freeswitch-perl.x86_64 : Perl support for the FreeSWITCH open source telephony platform
freeswitch-python.x86_64 : Python support for the FreeSWITCH open source telephony platform
freeswitch-release-repo.noarch : FreeSWITCH Packages for Enterprise Linux repository configuration
freeswitch-sounds-en-ca-june.noarch : FreeSWITCH fr-CA June prompts
freeswitch-sounds-en-ca-june-16000.noarch : FreeSWITCH 16kHz fr CA June prompts
freeswitch-sounds-en-ca-june-32000.noarch : FreeSWITCH 32kHz fr CA June prompts
freeswitch-sounds-en-ca-june-48000.noarch : FreeSWITCH 48kHz fr CA June prompts
freeswitch-sounds-en-ca-june-8000.noarch : FreeSWITCH 8kHz fr CA June prompts
freeswitch-sounds-en-ca-june-all.noarch : FreeSWITCH fr CA June prompts
freeswitch-sounds-en-us-allison.noarch : FreeSWITCH en-us Allison prompts
freeswitch-sounds-en-us-allison-16000.noarch : FreeSWITCH 16kHz en-us Allison prompts
freeswitch-sounds-en-us-allison-32000.noarch : FreeSWITCH 32kHz en-us Allison prompts
freeswitch-sounds-en-us-allison-48000.noarch : FreeSWITCH 48kHz en-us Allison prompts
freeswitch-sounds-en-us-allison-8000.noarch : FreeSWITCH 8kHz en-us Allison prompts
freeswitch-sounds-en-us-allison-all.noarch : FreeSWITCH en-us Allison prompts
freeswitch-sounds-en-us-callie.noarch : FreeSWITCH en-us Callie prompts
freeswitch-sounds-en-us-callie-16000.noarch : FreeSWITCH 16kHz en-us Callie prompts
freeswitch-sounds-en-us-callie-32000.noarch : FreeSWITCH 32kHz en-us Callie prompts
freeswitch-sounds-en-us-callie-48000.noarch : FreeSWITCH 48kHz en-us Callie prompts
freeswitch-sounds-en-us-callie-8000.noarch : FreeSWITCH 8kHz en-us Callie prompts
freeswitch-sounds-en-us-callie-all.noarch : FreeSWITCH en-us Callie prompts
freeswitch-sounds-fr-ca-june.noarch : FreeSWITCH fr-CA June prompts
freeswitch-sounds-fr-ca-june-16000.noarch : FreeSWITCH 16kHz fr CA June prompts
freeswitch-sounds-fr-ca-june-32000.noarch : FreeSWITCH 32kHz fr CA June prompts
freeswitch-sounds-fr-ca-june-48000.noarch : FreeSWITCH 48kHz fr CA June prompts
freeswitch-sounds-fr-ca-june-8000.noarch : FreeSWITCH 8kHz fr CA June prompts
freeswitch-sounds-fr-ca-june-all.noarch : FreeSWITCH fr CA June prompts
freeswitch-sounds-music.noarch : FreeSWITCH Music on Hold soundfiles
freeswitch-sounds-music-16000.noarch : FreeSWITCH 16kHz Music On Hold soundfiles
freeswitch-sounds-music-32000.noarch : FreeSWITCH 32kHz Music On Hold soundfiles
freeswitch-sounds-music-48000.noarch : FreeSWITCH 48kHz Music On Hold soundfiles
freeswitch-sounds-music-8000.noarch : FreeSWITCH 8kHz Music On Hold soundfiles
freeswitch-sounds-pt-BR-karina.noarch : FreeSWITCH pt-BR Karina prompts
freeswitch-sounds-pt-BR-karina-16000.noarch : FreeSWITCH 16kHz fr BR Karina prompts
freeswitch-sounds-pt-BR-karina-32000.noarch : FreeSWITCH 32kHz fr BR Karina prompts
freeswitch-sounds-pt-BR-karina-48000.noarch : FreeSWITCH 48kHz fr BR Karina prompts
freeswitch-sounds-pt-BR-karina-8000.noarch : FreeSWITCH 8kHz fr BR Karina prompts
freeswitch-sounds-pt-BR-karina-all.noarch : FreeSWITCH fr BR Karina prompts
freeswitch-sounds-ru-RU-elena.noarch : FreeSWITCH ru-RU Elena prompts
freeswitch-sounds-ru-RU-elena-16000.noarch : FreeSWITCH 16kHz ru-RU Elena prompts
freeswitch-sounds-ru-RU-elena-32000.noarch : FreeSWITCH 32kHz ru-RU Elena prompts
freeswitch-sounds-ru-RU-elena-48000.noarch : FreeSWITCH 48kHz ru-RU Elena prompts
freeswitch-sounds-ru-RU-elena-8000.noarch : FreeSWITCH 8kHz ru-RU Elena prompts
freeswitch-sounds-ru-RU-elena-all.noarch : FreeSWITCH ru-RU Elena prompts
freeswitch-
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

netkiller-BG7NYT

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值