惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
Lohrmann on Cybersecurity
S
Secure Thoughts
I
Intezer
Forbes - Security
Forbes - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
H
Help Net Security
IT之家
IT之家
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
宝玉的分享
宝玉的分享
S
Securelist
T
The Exploit Database - CXSecurity.com
博客园 - 叶小钗
Security Latest
Security Latest
The Cloudflare Blog
Jina AI
Jina AI
T
Tenable Blog
J
Java Code Geeks
G
GRAHAM CLULEY
C
CERT Recently Published Vulnerability Notes
SecWiki News
SecWiki News
AI
AI
博客园 - 聂微东
S
Schneier on Security
博客园_首页
爱范儿
爱范儿
有赞技术团队
有赞技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - 【当耐特】
T
Threatpost
Security Archives - TechRepublic
Security Archives - TechRepublic
Help Net Security
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Announcements
Recent Announcements
W
WeLiveSecurity
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
S
Security Affairs
T
Tor Project blog
T
Tailwind CSS Blog
N
News | PayPal Newsroom
C
CXSECURITY Database RSS Feed - CXSecurity.com
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
The Register - Security
The Register - Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security

博客园 - 雪域月光

windows如何查看cpu是否支持aux2指令集 git commit错误 error: bad signature 0x00000000 fatal: index file corrupt git pull时遇到error: cannot lock ref 'xxx': ref xxx is at (一个commitID) but expected的解决办法 git tortoise commit时出错 fatal : unable to read f77cxxxxxxxxxxx git unable to resolve reference 'refs/remotes/gitee/20210825-add-Projet-coreScene': reference broken git如何获取远端仓库新分支 git 清除本地修改 项目添加git忽略文件无效的处理 git tortoise commit 出现 fatal bad revidion head freeswitch 使用info显示的通道变量 字符编码:Unicode和UTF-8之间的关系 NET(C#):关于正确读取中文编码文件 UTF-8和GBK有什么区别 gb2312,gbk,utf8的区别 php+javascript实现的动态显示服务器运行程序进度条功能示例 PHP的ob_flush()与flush()区别 微信小程序如何实现和微信客服通话? 微信小程序如何接入? 微信小程序和微信公众号的id是一个吗
freeswitch dialplan 基础
雪域月光 · 2019-01-20 · via 博客园 - 雪域月光

freeswitch dialplan 基础

一、基础概念

dialplan 拨号方案

context 拨号表(块)

extension  拨号去向

action  (拨号后执行的)动作

condition  (执行动作的)条件

二、dialplan加载流程

三、sip电话外呼拨号简介

1、extension基本结构--第一个extension

<extension name="myfirst">
   <condition field="destination_number" expression="^1234$">
      <action application="log" data="INFO freeswitch你好"/>
   </condition>
</extension>

说明:extension name--是一个拨号去向的标志,可以起任意名称

          condition---表示拨号去向的条件,这里是号码1234

          action ---表示这个拨号,执行的动作

          application---表示执行的操作

          data---是操作的参数

2、正则表达式(p100)

  • ^1234$    ^代表匹配字符串的开头,$代表匹配字符串的开始,这个正则表达严格匹配1234

四、我的第一个dialplan

1、拨号1234--在log中显示hello,world

2、拨号1234--显示所有通道变量 info

3、拨号1234--显示主叫号码

4、拨号1234--显示拨号号码中的一部分

五、dialplan常用application