【问题标题】:Twilio speech recognition C# package resolving <gather> missing attributesTwilio 语音识别 C# 包解决 <gather> 缺少属性
【发布时间】:2018-05-16 00:03:34
【问题描述】:

我想使用 Twilio TwiML.Gather 进行语音识别,但我当前的版本缺少“输入”和“提示”(以及其他几个)属性。我想知道是否有可用的新软件包解决了这些问题。如果没有,我该如何手动添加它们?

【问题讨论】:

    标签: c# twilio twilio-twiml speech-recognition-api


    【解决方案1】:

    这里是 Twilio 开发者宣传员。

    Twilio .NET library 至少从 5.8.0 版本开始支持 input 和 hint 等属性。你可以update to the latest version, 5.13.0, from NuGet。

    如果有帮助,请告诉我。

    【讨论】:

    • 谢谢,我下载了新的包,它正在工作。还有一个问题。在文档中说,语音和数字的“输入”属性的值是“dtmf 语音”,但代码给了我一个错误:
    • var gather = new Gather(input: "speech dtmf", timeout: 4 , action: new Uri("MainMenu"), numDigits: 1);
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-19
    • 1970-01-01
    相关资源
    最近更新 更多