twilio 会议 - 获取拨入参与者的电话输入 [英] twilio conference - get dialedin participants phone input

查看:39
本文介绍了twilio 会议 - 获取拨入参与者的电话输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 twilio 会议的所有参与者都被静音,除了演示者.我需要实现一个功能,在该功能中,被拨入的参与者想要通过拨打他电话上的一个键来提出问题.

All the participants to my twilio conference are muted except the presenter. I need to implement a feature where the dialed in participant wants to ask a question by dialing a key on his phone.

本质上是举手"功能.然后他可以被主持人取消静音,并允许他提出问题.

Essentially a 'raise hand' feature. He can then be unmuted by the moderator and allowed to ask his question.

我已经有一个内置的仪表板可以将参与者静音/取消静音.

I already have a build in dashboard to mute/unmute the participants.

有没有办法让调用者可以点击 *1 或一些我可以在回调中使用的键组合.

is there a way that the caller can hit *1 or some combination of keys that I can then use in my callback.

我尝试将 * 与 hanguponstar 功能一起使用,但它基本上使呼叫者退出会议.

I've tried using * with hanguponstar functionality but it basically exits the caller from the conference.

谢谢,阿米特

推荐答案

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

Twilio developer evangelist here.

如果您使用 hangupOnStar 并在 <之后添加更多 TwiML/code> 然后呼叫将继续为用户.因此,您可以执行以下操作:

If you use hangupOnStar and add further TwiML after the <Dial> then the call will continue for the user. So, you could do something like:

<Response>
  <Dial hangupOnStar="true">
    <Conference>MyConferenceRoom</Conference>
  </Dial>
  <Redirect>/handUp</Redirect>
</Response>

您将通过 /handup 操作重定向呼叫者.在此操作中,您可以注册呼叫者的问题并使用 TwiML 进行响应以将其拨回 <会议>.

You would redirect the caller through a /handup action. In this action you could register the caller's question and respond with TwiML to dial them back into the <Conference>.

请注意,如果您的 <Dial> 有一个 action 属性,那么调用将遵循该属性,而不是在原始操作中继续使用 TwiML.

Note, if you have an action attribute for your <Dial> then the call will follow that rather than carry on with the TwiML in the original action.

让我知道这是否有帮助.

Let me know if that helps at all.

这篇关于twilio 会议 - 获取拨入参与者的电话输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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