星号播放声音文件到ConfBridge? [英] Asterisk playback sound file into ConfBridge?

查看:32
本文介绍了星号播放声音文件到ConfBridge?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试召开会议并在会议背景中播放声音文件.我怎样才能做到这一点?

I'm trying to make a conference and play a sound file in the background of the conference. How can I make this possible?

这显然行不通,因为在进入会议之前会播放声音文件.

this obviously wouldn't work because the sound file will be played before entering the conference.

exten => s,1,playback(some/soundfile)
same => n,confbridge(1)

提前致谢!

推荐答案

想在这里添加我的解决方案,以防有人需要它.

Wanted to add my solution here in case anyone ever needs it.

首先在 extensions.conf 中为 conf 桥创建上下文:

first make a context for the conf bridge in extensions.conf:

[conf-msg]
exten => s,1,ConfBridge(01)

其中 01 是桥号

然后通过命令行你可以:

Then via the command line you can do:

asterisk -x 'channel originate local/s@conf-msg application Playback file'

就这么简单.

这篇关于星号播放声音文件到ConfBridge?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆