在进行 twilio 电话会议时收集用户的输入

Gather input from user while ongoing twilio conference call

在我的应用程序中,我正在进行 twilio 电话会议,而当被叫方按 * 键时随时进行电话会议我想宣布一些选项并从用户(被叫方)收集一个输入。

可能吗?以及如何?

这里是 Twilio 开发人员布道者。

首先,设置hangupOnStar attribute on the <Dial> for your <Conference> to true. Then set the action attribute to a URL that returns a <Gather> and <Say>读出选项。处理完对 <Gather> 的响应后,将调用者重定向回 <Conference>.