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

查看:100
本文介绍了星号将声音文件回放到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天全站免登陆