【发布时间】:2020-04-02 00:13:42
【问题描述】:
在收集 DTMF 响应时,如何限制响应仅说出数字 1 或 2 而没有其他数字?这是我目前在我的垃圾箱里的东西:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Gather action="https://example.com/index.php?nid={{nid}}" method="GET" numDigits="1">
<Play loop="10">https://example.com/Message_large.mp3</Play>
</Gather>
<Say>Thank you, Goodbye</Say>
</Response>
但我在 Gather 文档中找不到任何说明如何执行此操作的内容..
【问题讨论】:
标签: twilio twilio-api twilio-php twilio-twiml