【问题标题】:Twilio after-conference-end instructions are not executed properlyTwilio 会议结束后指令未正确执行
【发布时间】:2014-01-17 19:29:08
【问题描述】:

我有一个奇怪的问题。

在我的系统中,有 2 名参与者在会议中相遇。 首先,A,呼叫然后进入会议等待,同时拨打B 加入此会议。然后,在A 结束会议后,我想执行一些 Twiml 来问B 几个问题。

以下是我在流程最后步骤向参与者输出的 Twiml 输出:

对于A:

<Response>
    <Gather numDigits="1">
         <Play>/somemusic.mp3</Play>
     </Gather>
</Response>

对于A:

<Response>
  <Play>/THANK_YOU.mp3</Play><Redirect/>
</Response>

对于A:

<Response>
    <Play>/PRE_FORWARD.mp3</Play>
    <Dial>
        <Conference waitUrl="http://twimlets.com/holdmusic?Bucket=com.twilio.music.classical" endConferenceOnExit="true">52d9771d4e1a41389983517</Conference>
    </Dial>
</Response>

对于B,拨打他之后:

<Response>
    <Dial record="true"  action="http://XYZ/joinconference/name/52d9771d4e1a41389983517/conference_ended/1">
        <Conference waitUrl="http://twimlets.com/holdmusic?Bucket=com.twilio.music.classical" endConferenceOnExit="true">52d9771d4e1a41389983517</Conference>
    </Dial>
</Response>

对于B,会议结束后:

<Response>
    <Gather numDigits="1">
        <Play>/QUESTION.mp3</Play>
        <Pause length="5"/>
    </Gather>
</Response>

问题是:B 没有完全听到/QUESTION.mp3。他只听到了这段录音的 1 秒钟。之后通话挂起。未提交Gather 结果。

这可能是什么?我做错了什么?

【问题讨论】:

    标签: twilio voice twilio-twiml


    【解决方案1】:

    这里是 Twilio 布道者。

    首先,只需使用Request Inspector 检查您的通话记录,因为这有助于调试您的应用程序。

    我重新创建了您在上面所做的事情,并且效果很好。我认为最好的选择是使用您的 Twilio 帐户 SID 联系 help@twilio.com,Twilio 支持人员可以深入了解您的具体情况出了什么问题。

    祝你好运!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-10
      • 1970-01-01
      • 1970-01-01
      • 2016-09-21
      相关资源
      最近更新 更多