我创建了一个非常简单的 xml 文件来测试 pivo:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Speak>Hello, Input your 4-digit pin number</Speak>
<GetDigits action="https://example.com/voice/plivo/renderVoiceCallDirective/wGather" method="POST">
<Speak>Enter your 4-digit pin number, followed by the hash key</Speak>
</GetDigits>
<Speak>Input not received. Thank you</Speak>
<Redirect>/voice/plivo/timeoutRedirect/xxx</Redirect>
</Response>
理论上,plivo 会读取并收集输入数字的内容,但似乎 Speak 和 GetDigits 不起作用,因为在获取此 xml 后,plivo 会直接转到重定向 url。通话将持续几秒钟并挂断。有谁知道为什么会这样?谢谢