当前位置:网站首页>Freeswitch dials extension number source code tracking
Freeswitch dials extension number source code tracking
2022-07-07 07:09:00 【Be true】

summary
freeswitch Is a very easy to use open source VOIP Softswitch platform .
We have introduced the use of fs How to dial the extension number , The code flow is relatively complex , So I will open a separate chapter to introduce .
fs Dial the extension number , It's using send_dtmf Interface implementation , This section mainly introduces how interfaces integrate DTMF Code sent , What modules have been passed .
Environmental Science
centos:CentOS release 7.0 (Final) Or above
freeswitch:v1.8.7
GCC:4.8.5
Dial plan
fs The configuration file /usr/local/freeswitch/conf/dialplan/test.xml
<include>
<context name="ext_test">
<extension name="test" continue="false">
<condition field="destination_number" expression="^(\d+)$">
<action application="sched_hangup" data="+10"/>
<action application="send_dtmf" data="1234"/>
<action application="sleep" data="5000"/>
<action application="endless_playback" data="/usr/local/freeswitch/sounds/101-baidu-mp3.mp3"/>
</condition>
</extension>
</context>
</include>
Source code flow
chart 1,“FS CORE” yes freeswitch Core module ,“mod_dptools” and “mod_sofia” yes fs Sub module of .

because dialplan The process in is first “send_dtmf”, then “sleep”, So from the above call flow chart , You can see that the starting point of the process is mod_dptools Module start .
summary
freeswitch There are many processes and sub modules of the core module , Calling and registering callback functions between modules are complex , Variable process .
Sorting out sub module function code flow is helpful to understand fs The overall structure of .
Empty as usual
Be serious
边栏推荐
- Multidisciplinary integration
- $parent(获取父组件) 和 $root(获取根组件)
- This article introduces you to the characteristics, purposes and basic function examples of static routing
- MYSQL binlog相关命令
- MYSQL----导入导出&视图&索引&执行计划
- 什么情况下考虑分库分表
- 2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书
- Sqlserver multithreaded query problem
- Precise space-time travel flow regulation system - ultra-high precision positioning system based on UWB
- MySQL user permissions
猜你喜欢

如何给目标机器人建模并仿真【数学/控制意义】

Jetpack Compose 远不止是一个UI框架这么简单~

Esxi attaching mobile (Mechanical) hard disk detailed tutorial

Can 7-day zero foundation prove HCIA? Huawei certification system learning path sharing

FPGA course: application scenario of jesd204b (dry goods sharing)

Several index utilization of joint index ABC

Config distributed configuration center

LVS+Keepalived(DR模式)学习笔记

The latest trends of data asset management and data security at home and abroad

2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第二阶段答案
随机推荐
sqlserver多线程查询问题
CompletableFuture使用详解
Take you to brush (niuke.com) C language hundred questions (the first day)
Data of all class a scenic spots in China in 2022 (13604)
Multidisciplinary integration
.net 5 FluentFTP连接FTP失败问题:This operation is only allowed using a successfully authenticated context
Basic introduction of JWT
Config distributed configuration center
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第二阶段答案
mysql查看bin log 并恢复数据
A slow SQL drags the whole system down
云备份项目
main函数在import语句中的特殊行为
Advantages of using net core / why
Mysql---- import and export & View & Index & execution plan
Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
Special behavior of main function in import statement
$refs:组件中获取元素对象或者子组件实例:
jdbc数据库连接池使用问题
SolidWorks GB Library (steel profile library, including aluminum profile, aluminum tube and other structures) installation and use tutorial (generating aluminum profile as an example)