【问题标题】:With Twilio, is it possible to receive user input during a conference call?使用 Twilio,是否可以在电话会议期间接收用户输入?
【发布时间】:2015-02-20 04:53:26
【问题描述】:

Twilio documentation 提到您可以在用户收听消息时收集用户键盘输入:

您可以在 Gather 中嵌套以下动词:Say、Play、Pause。但是您不能将 Gather 嵌套在任何其他动词中。

Conference 标签不能嵌套在 Gather 标签中,那么当用户使用 Conference 标签连接到会议室后,还有其他方法可以收集用户数字吗?

【问题讨论】:

    标签: twilio


    【解决方案1】:

    Twilio 布道者在这里。

    在电话会议中无法<Gather>,但有一种解决方法。您可以利用 <Dial> 动词 hangupOnStar 属性。

    <Response>
        <Dial hangupOnStar="true">
            <Conference>example</Conference>
        </Dial>
        <Gather action="/redirectIntoConference?name=example" numDigits="1"></Gather>
    </Response>
    

    当用户按下* 键时,Twilio 将断开他们与电话会议的连接并立即开始收听他们的按键音。 Gather 完成后,您只需将他们重定向回电话会议。

    这使您可以执行标准*6 组合键等操作以静音。

    希望对您有所帮助。

    【讨论】:

    • 我喜欢它。非常强大的组合!
    • 刚刚实现了。效果很好。
    • 这仍然是真的,即“你不能在会议期间聚集”??
    • 是的,它仍然是真的。
    • @DevinRader,这可以通过创建参与者功能实现吗?以这种方式添加参与者时,我没有看到 hangupOnStar 作为选项。 twilio.com/docs/voice/api/…
    猜你喜欢
    • 2018-11-06
    • 1970-01-01
    • 1970-01-01
    • 2018-05-01
    • 1970-01-01
    • 2014-01-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多