在我的TwiML上,我正在重定向到一个自动驾驶助手。
重定向可以工作,但Autopilot中的回退任务会在发出响应消息后立即执行。
var response = new VoiceResponse();
//message is a long text that takes 10 secs to speak
response.Say(message, voice: Say.VoiceEnum.Woman)
.Pause(1)
.Say("Is there anything else I can help you with?", voice: Say.VoiceEnum.Woman)
.Redirect(new Uri("https://channels.autopilot.twilio.com/v1/ACb84aea4078731dbf3eb5ebc4ebc54e60/UAf9af2bb8c9dda1593110c8eab81a0b38/twilio-voice"));期望:在用TwiML说出我的响应消息并重定向到Autopilot之后,它应该等待几秒钟,如果调用者没有查询,那么它应该触发回退任务。
如何防止回退任务立即执行?
https://stackoverflow.com/questions/56475354
复制相似问题