FreeSWITCH mod_conference 的按键会控

又是一篇命题作文

mod_conference 官方文档:

https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod_conference_3965534/

英文不好的可以看中文:

http://www.freeswitch.org.cn/books/references/1.7-mod_conference.html

我主要参考官方文档,文档写的非常清楚

本人并没有特别要补充的

这里仅仅普及下常识

首先,member 分二种,一种是主持人(moderator),本人习惯配置二个按键;另外一种是普通参会者,本人习惯配置单个按键。

下面是普通参会者的按键配置:

<group name="default">

<control action="mute" digits="0"/>

<control action="deaf mute" digits="*"/>

<control action="energy up" digits="9"/>

<control action="energy equ" digits="8"/>

<control action="energy dn" digits="7"/>

<control action="vol talk up" digits="3"/>

<control action="vol talk zero" digits="2"/>

<control action="vol talk dn" digits="1"/>

<control action="vol listen up" digits="6"/>

<control action="vol listen zero" digits="5"/>

<control action="vol listen dn" digits="4"/>

<control action="execute_application" digits="#" data="execute_extension call_hotline XML cnf"/>

</group>

其中,按 # 字键之后执行 dialplan,等于是热线求助,写一段路由就可以支持

下面是主持人的按键配置:

<group name="moderator">

<control action="execute_application" digits="*1" data="execute_extension ASK_FOR_NUMBER__callout_joinconference_moderator XML cnf"/>

<control action="mute" digits="66"/>

<control action="mute on" digits="*6"/>

<control action="mute off" digits="#6"/>

<control action="execute_application" digits="*9" data="playback moderator_help.wav"/> <!--普通参会者的语音提示-->

<control action="execute_application" digits="*#" data="execute_extension ANNOUNCE_CONF_COUNT_PRIVATE XML cnf"/>

</group>

到底怎么实现,官方文档其实讲的很清楚的,仔细找就可以找到

execute conference 123 跟 execute conference 123@default 是一样的,艾特右边的是会议的 profile

比如 execute conference 123@wideband,则需要配置 wideband 这个 profile

profile 配置部分有三个配置项要留意:

  1. <param name="caller-controls" value="default"/> 普通参会者的按键控制

  2. <param name="moderator-controls" value="moderator"/> 支持人的按键控制

  3. <param name="ivr-dtmf-timeout" value="2000"/> 2 个 dtmf 之间的间隔时间

那么什么是主持人(moderator)呢?

很简单

execute conference 123@default+flags{moderator}

相关推荐
Seoyoneh8 天前
呼叫中心系统上云还是本地部署?架构、成本与运维全维度技术对比
人工智能·信息与通信·通信
小贺儿开发9 天前
Unity 家居视频遥控(细节优化)
科技·unity·程序员·udp·视频·工具·通信
Seoyoneh9 天前
智能客服意图识别实战:深度学习与规则引擎融合架构与落地实践
人工智能·信息与通信·通信
物联通信量讯说11 天前
IOTE 2026 释放信号:中国 IoT 出海正在进入“长期运营”阶段
物联网·iot·通信·企业出海
Seoyoneh12 天前
呼叫中心工单系统架构实战:自动建单与闭环流转技术解析
人工智能·信息与通信·通信
Seoyoneh12 天前
智能客服机器人多轮对话与上下文管理:NLU、DST与对话状态机技术实现
人工智能·信息与通信·通信
Seoyoneh12 天前
呼叫中心智能路由架构实战:规则引擎与多维度调度技术解析2026年
人工智能·信息与通信·通信
Seoyoneh13 天前
呼叫中心云原生架构实战:微服务拆分与弹性扩容技术解析
人工智能·信息与通信·通信
Seoyoneh13 天前
2026年呼叫中心选型技术指南:架构、API与高可用维度的评估清单
人工智能·信息与通信·通信
Seoyoneh15 天前
大促峰值呼叫中心不掉线:云原生弹性扩容与微服务架构实战解析
信息与通信·通信