freeswitch 电话会议
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了freeswitch 电话会议相关的知识,希望对你有一定的参考价值。
会议设置 30xx 窄带会议 31xx 宽带会议 32xx 超宽带会议 33xx CD音质会议 将会议设置密码: vim freeswitch/etc/freeswitch/dialplan/default.xml 将 <extension name="nb_conferences"> <condition field="destination_number" expression="^(30\d{2})$"> <action application="answer"/> <action application="conference" data="$1-${domain_name}@default"/> </condition> </extension> 改 <extension name="nb_conferences"> <condition field="destination_number" expression="^(30\d{2})$"> <action application="answer"/> <action application="conference" data="$1-${domain_name}@default+1122"/> </condition> </extension> 测:保存后,Freeswitch按[F6], 如多个SIP电话机拨打3001,按照提示音输入密码进入会议 ================================================ 会议配置文件参数: 会议采样率: <param name="rate" value="8000"/> 每秒间隔 <param name="interval" value="20"/> 被静音/ <param name="muted-sound" value="conference/conf-muted.wav"/> <param name="unmuted-sound" value="conference/conf-unmuted.wav"/> 会议里只有1个人时的提示语,注释就可以屏蔽 <param name="alone-sound" value="conference/conf-alone.wav"/> 避免大家都不说话以为线路断了,产生舒适的很小的噪音, <param name="comfort-noise" value="true"/> 会议录音文件 <param name="auto-record" value="$${recordings_dir}/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/> ========================================== 列出当前存在的会议: [email protected]> conference list Conference 3300-172.16.20.139 (2 members rate: 48000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound|json_status) 28;sofia/internal/[email protected];b0c44abe-354a-11e7-917b-45f04867d087;1002;1002;hear|speak|talking|floor|vid-floor;0;0;0;100 27;sofia/internal/[email protected];acccd9bc-354a-11e7-9172-45f04867d087;1001;1001;hear|speak|video;0;0;0;100 向当前会议播放音乐: [email protected]> conference 3300-172.16.20.139 play /root/freeswitch/share/freeswitch/sounds/music/48000/suite-espanola-op-47-leyenda.wav 停止播放音乐: [email protected]> conference 3300-172.16.20.139 stop all 调整所有成员的拾音音量:0-4级可调 [email protected]> conference 3300-172.16.20.139 volume_out all 1 [email protected]> conference 3300-172.16.20.139 volume_out all 4 Volume OUT 28 = 4 Volume OUT 27 = 4 调整所有成员的输出音量:0-4级可调 [email protected]> conference 3300-172.16.20.139 volume_out all 1 [email protected]> conference 3300-172.16.20.139 volume_out all 4 Volume OUT 28 = 4 Volume OUT 27 = 4 会议加锁,不允许再加入新用户 [email protected]> conference 3300-172.16.20.139 lock OK 3300-172.16.20.139 locked 会议解锁 [email protected]> conference 3300-172.16.20.139 unlock OK 3300-172.16.20.139 unlocked 启用AGC自动增益 [email protected]> conference 3300-172.16.20.139 agc 会议邀请: [email protected]> conference 3300-172.16.20.139 dial user/1000 会议邀请,命令行不再阻塞 [email protected]> conference 3300-172.16.20.139 bgdial user/1000
本文出自 “李春利” 博客,请务必保留此出处http://990487026.blog.51cto.com/10133282/1924175
以上是关于freeswitch 电话会议的主要内容,如果未能解决你的问题,请参考以下文章