[英]Asterisk Playback Sound just from CLI
I m using a Starface application based on Asteric. 我正在使用基于Asteric的Starface应用程序。 I aim for injecting a soundfile into a broadcast to several channels.
我的目标是将声音文件注入到多个频道的广播中。
how can i execute the playback() command in the CLI for a specific channel. 如何在CLI中为特定频道执行playback()命令。 The Starface application overwrites the dialplans (extensions.config).
Starface应用程序将覆盖拨号计划(extensions.config)。 Therefor it is not possible to configure the *.config files.
因此,无法配置* .config文件。
I hope anyone can help me 我希望有人能帮助我
lpc lpc
You have 2 options 您有2个选择
1) User AMI event listener and user ChannelRedirect action when needed 1)需要时,用户AMI事件侦听器和用户ChannelRedirect操作
2)(correct one) change your application. 2)(正确的一种)更改您的应用程序。
The answer is a callfile to a local channel with an application invocation: 答案是使用应用程序调用的本地通道的调用文件:
Channel: local/100@context 频道:local / 100 @ context
Application: Playback 应用:播放
Data: soundfile 数据:声音文件
context: 上下文:
exten => 100,1,page(SIP/tele1&SIP/tele2) exten => 100,1,page(SIP / tele1&SIP / tele2)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.