当前位置:网站首页>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
边栏推荐
- How to model and simulate the target robot [mathematical / control significance]
- Test of transform parameters of impdp
- 组件的嵌套和拆分
- unity3d学习笔记
- Esxi attaching mobile (Mechanical) hard disk detailed tutorial
- Exception of DB2 getting table information: caused by: com ibm. db2.jcc. am. SqlException: [jcc][t4][1065][12306][4.25.13]
- FPGA course: application scenario of jesd204b (dry goods sharing)
- Tujia, muniao, meituan... Home stay summer war will start
- 多学科融合
- 关于数据库数据转移的问题,求各位解答下
猜你喜欢

Basic introduction of JWT

从零到一,教你搭建「CLIP 以文搜图」搜索服务(二):5 分钟实现原型

一文带你了解静态路由的特点、目的及配置基本功能示例

组件的嵌套和拆分

. Net 5 fluentftp connection FTP failure problem: this operation is only allowed using a successfully authenticated context

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

Config distributed configuration center

$refs:组件中获取元素对象或者子组件实例:

MySQL view bin log and recover data

Lvs+kept (DR mode) learning notes
随机推荐
DHCP路由器工作原理
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书
联合索引ABC的几种索引利用情况
Big coffee gathering | nextarch foundation cloud development meetup is coming
MySql用户权限
Special behavior of main function in import statement
请教一个问题,flink oracle cdc,读取一个没有更新操作的表,隔十几秒就重复读取全量数据
Stack Title: nesting depth of valid parentheses
MYSQL binlog相关命令
2018 Jiangsu Vocational College skills competition vocational group "information security management and evaluation" competition assignment
Academic report series (VI) - autonomous driving on the journey to full autonomy
libcurl返回curlcode说明
多线程与高并发(9)——AQS其他同步组件(Semaphore、ReentrantReadWriteLock、Exchanger)
from .onnxruntime_pybind11_state import * # noqa ddddocr运行报错
How DHCP router works
AVL树的实现
请教一下,监听pgsql ,怎样可以监听多个schema和table
How can brand e-commerce grow against the trend? See the future here!
Bus message bus
How can gyms improve their competitiveness?