想在 Twilio Studio 中使用 Whisper [英] Want to use Whisper in Twilio Studio

查看:29
本文介绍了想在 Twilio Studio 中使用 Whisper的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Twilio Studio 中使用 Whisper,这可能吗??

I want to use the Whisper in Twilio Studio, is this possible??

现在我只使用 Twilio Studio 和 TwiML Bin

Now I using only Twilio Studio and TwiML Bin

我的目标是...

  1. 用户拨打我的 Twilio 号码
  2. 将呼叫连接到支持团队的电话.
  3. 开始用户(客户端)和之间的通话后支持团队,我想 [Say] 一条消息给支持团队,然后开始通话.

我该怎么做??

推荐答案

Twilio 开发人员布道者在这里.

Twilio developer evangelist here.

目前您无法与 Studio 私聊.不过,您可以仅使用 TwiML Bins 来实现此流程.

Currently you cannot do a whisper with Studio. You could achieve this flow with just TwiML Bins though.

您需要两个垃圾箱.一个用于在耳语中阅读您想要的消息,另外两个将呼叫转移并指向耳语.

You would need two bins. One to read the message that you want in the whisper and the other two forward the call and point to the whisper.

因此,耳语箱将使用 用于消息,如下所示:

So, the whisper bin would include TwiML using either <Say> or <Play> for the message, like this:

<Response>
  <Say voice="alice">You are getting a call on the support line, the next voice you will hear is the customer.</Say>
</Response>

那么,响应来电的bin需要使用<Dial> 使用 . url 属性应指向上面的 TwiML 以进行耳语.喜欢:

Then, the bin that responds to the incoming call needs to use <Dial> with a <Number>. The <Number> url attribute should point at the TwiML above for the whisper. Like:

<Response>
  <Dial>
    <Number url="TWIML_BIN_URL">+123456789</Number>
  </Dial>
</Response>

这篇关于想在 Twilio Studio 中使用 Whisper的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆