Twilio-Gather不做部分识别

时间:2018-07-18 18:48:21

标签: twilio twilio-api

我当前正在使用Twilio,并且我想使用可以与Gather一起使用的实时转录功能,但是,每次使用当前设置进行呼叫时,我都会在Twilio控制台上遇到以下错误:

  

元素“ Say”上的属性“ voice”的值“ alice”无效   关于其类型

     

值“ alice”相对于枚举“ [man

”而言不是有效的      

属性'partialResultCallback'不允许出现在元素中   “聚在一起”。

     

属性“ input”不允许出现在元素“ Gather”中。

这是我为该动作发送的TwiML:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Gather input="speech" partialResultCallback="{fullUrl}">
        <Say>This is a test</Play>
    </Gather>
</Response>

我在说动词时收到了错误,因为我也在通话结束时发送了这个消息:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Say voice="alice">This call is over, thanks</Say>
</Response>

在partialResultCallback URL上我没有任何信息。

我想念什么?

谢谢

0 个答案:

没有答案