admin管理员组文章数量:1664349
FreeSWITCH conference guide(FreeSWITCH会议指南)
参考资料 https://freeswitch/confluence/display/FREESWITCH/mod_conference
conference基础部分
查询已经存在的会议
conference <conf name> list [delim <string>]|[count]conference <conf name> xml_list
邀请用户加入会议
- API
bgapi originate user/1003 &conference(test@default)
。
呼叫分机1003,分机应答后加入会议test.会议名字字母数字都可以。FreeSWITCH会自动创建会议。 - API
conference <confname> bgdial <dial-string> [<callerid_number> [<callerid_name>]]
。 例子:conference 8000@default bgdial user/1003 8000 conference
,呼叫分机1003加入会议,分机1003的来电显示为conference<1003>。
成员加入会议标志
例子confname++flags{endconf|moderator}
.
- mute (静音)Enter conference muted
- deaf (不听会议声音)Enter conference deafed (can not hear conference); will also mute the mic
- mute-detect (成员静音时说话播放提示)Play the mute_detect_sound when talking detected by this conferee while *muted
- dist-dtmf Send any DTMF from this member to all participants
- moderator (主席)Flag member as a moderator
- nomoh (只有一个成员时不播放背景音乐)Disable music on hold when this member is the only member in the conference
- endconf Ends conference when all members with this flag leave the conference after profile param endconf-grace-time has expired
- mintwo End conference when it drops below 2 participants after a member enters with this flag
- ghost Do not count member in conference tally
- join-only (只允许加入已经存在的会议)Only allow joining a conference that already exists
- positional Process this member for positional audio on stereo outputs 1.4
- no-positional Do not process this member for positional audio on stereo outputs 1.4
- join-vid-floor Locks member as the video floor holder 1.6
- no-minimize-encoding Bypass the video transcode minimizer and encode the video individually for this member 1.6
- vmute Enter conference video muted 1.6
- second-screen Open a ‘view only’ connection to the conference, without impacting the conference count or data. 1.6
剔出成员
kick 和 hup 区别,hup不播放提示音。
conference <confname> kick <member_id>|all|last|non_moderator
conference <confname> hup <member_id>|all|last|non_moderator
会议密码
- 呼出的通话加入会议,默认不需要密码。如果要禁用这个特性,需要设置通道变量
conference_enforce_security
为true。 - 会议密码(pin),可以在配置文件中设置,也可以在APP参数中指定密码,也可以通过API来设置密码,APP参数中指定的密码具有最高优先级。
APP中设置密码
<action application="conference" data="confname@profilename+pin">
API设置密码
设置成员密码
conference <confname> pin <pin-number>
设置主席密码
conference <confname> pin mod <pin-number>
清除密码
conference <confname> nopin
配置文件设置密码
<profiles>
<profile name="default">
<param name="pin" value="12345"/>
<param name="moderator-pin" value="54321"/>
</profile>
</profiles>
通道变量设置密码
通道变量·conference_moderator_pin·设置主席密码。
通道变量验证密码
通道变量supplied_pin
=X-ConfPin=pin
,可以用来验证密码。
会议录音
通过API,或者配置来对会议进行录音。
API控制会议录音
多次执行录音命令,可以录音到多个文件。record
对应recording start
,norecord
对应recording stop
,chkrecord
对应recording check
,pause
对应recording pause
,resume
对应recording resume
它们功能完全一样。
conference <confname> record <file-path>
conference <confname> norecord <file-path>|all
conference <confname> resume <file-path>
conference <confname> chkrecord
conference <confname> pause <file-path>
conference <confname> recording start <file-path>
conference <confname> recording check
conference <
本文标签: 会议指南freeswitch
版权声明:本文标题:FreeSWITCH会议指南 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1730020943a1219455.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论