首页 > 代码库 > freeswitch 电话会议
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="http://www.mamicode.com/$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="http://www.mamicode.com/$1-${domain_name}@default+1122"/> </condition> </extension> 测:保存后,Freeswitch按[F6], 如多个SIP电话机拨打3001,按照提示音输入密码进入会议 ================================================ 会议配置文件参数: 会议采样率: <param name="rate" value="http://www.mamicode.com/8000"/> 每秒间隔 <param name="interval" value="http://www.mamicode.com/20"/> 被静音/ <param name="muted-sound" value="http://www.mamicode.com/conference/conf-muted.wav"/> <param name="unmuted-sound" value="http://www.mamicode.com/conference/conf-unmuted.wav"/> 会议里只有1个人时的提示语,注释就可以屏蔽 <param name="alone-sound" value="http://www.mamicode.com/conference/conf-alone.wav"/> 避免大家都不说话以为线路断了,产生舒适的很小的噪音, <param name="comfort-noise" value="http://www.mamicode.com/true"/> 会议录音文件 <param name="auto-record" value="http://www.mamicode.com/$${recordings_dir}/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/> ========================================== 列出当前存在的会议: freeswitch@CentOS> 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/1002@172.16.20.139;b0c44abe-354a-11e7-917b-45f04867d087;1002;1002;hear|speak|talking|floor|vid-floor;0;0;0;100 27;sofia/internal/1001@172.16.20.139;acccd9bc-354a-11e7-9172-45f04867d087;1001;1001;hear|speak|video;0;0;0;100 向当前会议播放音乐: freeswitch@CentOS> conference 3300-172.16.20.139 play /root/freeswitch/share/freeswitch/sounds/music/48000/suite-espanola-op-47-leyenda.wav 停止播放音乐: freeswitch@CentOS> conference 3300-172.16.20.139 stop all 调整所有成员的拾音音量:0-4级可调 freeswitch@CentOS> conference 3300-172.16.20.139 volume_out all 1 freeswitch@CentOS> conference 3300-172.16.20.139 volume_out all 4 Volume OUT 28 = 4 Volume OUT 27 = 4 调整所有成员的输出音量:0-4级可调 freeswitch@CentOS> conference 3300-172.16.20.139 volume_out all 1 freeswitch@CentOS> conference 3300-172.16.20.139 volume_out all 4 Volume OUT 28 = 4 Volume OUT 27 = 4 会议加锁,不允许再加入新用户 freeswitch@CentOS> conference 3300-172.16.20.139 lock OK 3300-172.16.20.139 locked 会议解锁 freeswitch@CentOS> conference 3300-172.16.20.139 unlock OK 3300-172.16.20.139 unlocked 启用AGC自动增益 freeswitch@CentOS> conference 3300-172.16.20.139 agc 会议邀请: freeswitch@CentOS> conference 3300-172.16.20.139 dial user/1000 会议邀请,命令行不再阻塞 freeswitch@CentOS> conference 3300-172.16.20.139 bgdial user/1000
本文出自 “李春利” 博客,请务必保留此出处http://990487026.blog.51cto.com/10133282/1924175
freeswitch 电话会议
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。