【问题标题】:Using GATHER to gather user's names in Twilio使用 GATHER 在 Twilio 中收集用户名
【发布时间】:2019-02-28 13:21:03
【问题描述】:

您好,是否可以使用收集动词来收集用户名? 我收到一个应用程序错误,我在哪里可以阅读它的详细信息? 我可以使用任何“提示”来改善聚会名称吗?

【问题讨论】:

    标签: twilio twilio-functions


    【解决方案1】:

    Twilio 布道者在这里。

    您可以将 上的input attribute 设置为语音,然后使用hints attribute 为 Gather 提供一组单词或短语,使其语音到文本的转换更加准确。

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- page located at http://example.com/simple_gather.xml -->
    <Response>
        <Gather input="speech" action="/completed" hints="number, numbers, more number facts, more numbers facts">
            <Say>Welcome to Twilio, please tell us why you're calling</Say>
        </Gather>
    </Response>
    

    希望对您有所帮助。

    【讨论】:

    • 经常误用“a”和“hey” 有没有办法使用提示排除单词?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-18
    • 1970-01-01
    相关资源
    最近更新 更多