星号发起了一个静音电话
我有一个脚本,该脚本从我的星号上的某些频道启动了电话 该脚本运行了foring命令:
channel originate SIP/11 extension 800@from-internal
channel originate SIP/12 extension 800@from-internal
channel originate SIP/13 extension 800@from-internal
channel originate SIP/14 extension 800@from-internal
之后,我将使用Python Amy集成静音每个频道:
action = SimpleAction(
'MuteAudio',
Channel='SIP/11-00001',
Exten='11',
Direction='in',
State='on'
)
但是,如果频道不启动呼叫,则会给我静音错误。
我想知道是否有任何突击队可以发出呼叫的突击队。之后,我可以根据我的系统状态来选择哪种渠道将取消使用。
i have a script that start a call from some channels in my asterisk
this scripts runs the folowing commands:
channel originate SIP/11 extension 800@from-internal
channel originate SIP/12 extension 800@from-internal
channel originate SIP/13 extension 800@from-internal
channel originate SIP/14 extension 800@from-internal
after that i ned to mute each channel using python amy integration like it:
action = SimpleAction(
'MuteAudio',
Channel='SIP/11-00001',
Exten='11',
Direction='in',
State='on'
)
but it gives me to mutch errors, if a channel dont start a call this command never runs.
id like to know if tehre is any commando that can originate a call muted. and after that i can choos what channel will be unmuted based on my system status.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以从内部上下文中静音音频,为首要级。
您可以通过本地/通道来启动任何拨号命令参数或任何应用程序。
You can mute audio in from-internal context as first priority.
You can originate via Local/ channel to do any Dial command params or any apps before call.