当前位置:网站首页>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
边栏推荐
- Data of all class a scenic spots in China in 2022 (13604)
- Use of completable future
- MySQL binlog related commands
- 如何给目标机器人建模并仿真【数学/控制意义】
- toRefs API 与 toRef Api
- . Net 5 fluentftp connection FTP failure problem: this operation is only allowed using a successfully authenticated context
- How can flinksql calculate the difference between a field before and after update when docking with CDC?
- Jesd204b clock network
- Please ask a question, flick Oracle CDC, read a table without update operation, and repeatedly read the full amount of data every ten seconds
- Can 7-day zero foundation prove HCIA? Huawei certification system learning path sharing
猜你喜欢

.net 5 FluentFTP连接FTP失败问题:This operation is only allowed using a successfully authenticated context

How can gyms improve their competitiveness?

Several index utilization of joint index ABC

Composition API 前提

$parent(获取父组件) 和 $root(获取根组件)

MySQL的主从复制原理

异步组件和Suspense(真实开发中)

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

Network foundation - header, encapsulation and unpacking

main函数在import语句中的特殊行为
随机推荐
Several index utilization of joint index ABC
Answer to the second stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
7天零基础能考证HCIA吗?华为认证系统学习路线分享
父组件传递给子组件:Props
from . onnxruntime_ pybind11_ State Import * noqa ddddocr operation error
Config分布式配置中心
如何给目标机器人建模并仿真【数学/控制意义】
How DHCP router works
Special behavior of main function in import statement
服装门店如何盈利?
品牌电商如何逆势增长?在这里预见未来!
Jesd204b clock network
How Oracle backs up indexes
详解机器翻译任务中的BLEU
组件的通信
大咖云集|NextArch基金会云开发Meetup来啦
关于数据库数据转移的问题,求各位解答下
MySQL的主从复制原理
Under what circumstances should we consider sub database and sub table
Take you to brush (niuke.com) C language hundred questions (the first day)