FreeSWITCH conference guide(FreeSWITCH会议指南)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FreeSWITCH conference guide(FreeSWITCH会议指南)相关的知识,希望对你有一定的参考价值。
参考技术A 参考资料 https://freeswitch.org/confluence/display/FREESWITCH/mod_conference例子 confname++flagsendconf|moderator .
kick 和 hup 区别,hup不播放提示音。
conference <confname> kick <member_id>|all|last|non_moderator conference <confname> hup <member_id>|all|last|non_moderator
设置成员密码
设置主席密码
清除密码
通道变量·conference_moderator_pin·设置主席密码。
通道变量 supplied_pin = X-ConfPin=pin ,可以用来验证密码。
通过API,或者配置来对会议进行录音。
多次执行录音命令,可以录音到多个文件。 record 对应 recording start , norecord 对应 recording stop , chkrecord 对应 recording check , pause 对应 recording pause , resume 对应 recording resume 它们功能完全一样。
例子 conference 8000 play test.wav
就是会议成员加入,离开等提示音。
桥接会议,就是连接2会议。
You can subscribe to the following to receive conference events:
conference::maintenance
The "suppress-events" parameter can be added to the conference profile to prevent events from firing. e.g. if you're not interested in start or stop talking events:
The events that can be suppressed are:
add-member, del-member, energy-level, volume-level, gain-level, dtmf, stop-talking, start-talking, mute-member, unmute-member, kick-member, dtmf-member, energy-level-member, volume-in-member, volume-out-member, play-file, play-file-member, speak-text, speak-text-member, lock, unlock, transfer, bgdial-result and floor-change.
配置会议控制按键,profile通过 <param name="caller-controls" value="none"/> 设置管理的caller-controls。none就是不使用控制按键,不设置时会使用default组。
Caller controls are used to modify the state of the conference, such as lowering the volume, mute a participant, and such. Below are the commands that can be assigned to digits and executed during a conference. The "moderator-controls" group provides additional controls for participants who enter the conference with the moderator flag set. See below.
Reserved Control Group Names
例子:
详细配置
基于Django 的 FreeSwitch 开源GUI 管理系统 YouPBX
YouPBX
YouPBX 是一个强大 FreeSwift (电话软交换系统) 的管理GUI系统,基于Django开发,功能全面,体验友好,可以基于此项目做一个完善的IPPBX系统、呼叫中心应用等
项目地址
https://github.com/JoneXiong/YouPBX
使用
- git clone
- cd YouPBX
- 项目界面框架用的 DjangoX, 请拷贝xadmin包到运行根目录
- cp config_sample.py config.py 编辑配置freeswitch的连接信息
- python manage.py syncdb
- python manage.py runserver
- 浏览 http://localhost/xadmin/ 账号 admin admin
以上是关于FreeSWITCH conference guide(FreeSWITCH会议指南)的主要内容,如果未能解决你的问题,请参考以下文章
基于Django 的 FreeSwitch 开源GUI 管理系统 YouPBX