星号发起了一个静音电话

发布于 2025-01-27 22:05:38 字数 622 浏览 2 评论 0原文

我有一个脚本,该脚本从我的星号上的某些频道启动了电话 该脚本运行了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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深海少女心 2025-02-03 22:05:38

您可以从内部上下文中静音音频,为首要级。

您可以通过本地/通道来启动任何拨号命令参数或任何应用程序。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文