【发布时间】:2015-02-20 04:53:26
【问题描述】:
Twilio documentation 提到您可以在用户收听消息时收集用户键盘输入:
您可以在 Gather 中嵌套以下动词:Say、Play、Pause。但是您不能将 Gather 嵌套在任何其他动词中。
Conference 标签不能嵌套在 Gather 标签中,那么当用户使用 Conference 标签连接到会议室后,还有其他方法可以收集用户数字吗?
【问题讨论】:
标签: twilio
Twilio documentation 提到您可以在用户收听消息时收集用户键盘输入:
您可以在 Gather 中嵌套以下动词:Say、Play、Pause。但是您不能将 Gather 嵌套在任何其他动词中。
Conference 标签不能嵌套在 Gather 标签中,那么当用户使用 Conference 标签连接到会议室后,还有其他方法可以收集用户数字吗?
【问题讨论】:
标签: twilio
Twilio 布道者在这里。
在电话会议中无法<Gather>,但有一种解决方法。您可以利用 <Dial> 动词 hangupOnStar 属性。
<Response>
<Dial hangupOnStar="true">
<Conference>example</Conference>
</Dial>
<Gather action="/redirectIntoConference?name=example" numDigits="1"></Gather>
</Response>
当用户按下* 键时,Twilio 将断开他们与电话会议的连接并立即开始收听他们的按键音。 Gather 完成后,您只需将他们重定向回电话会议。
这使您可以执行标准*6 组合键等操作以静音。
希望对您有所帮助。
【讨论】: