我有这个 VoiceXML 脚本:
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1" >
<form>
<record name="recording" beep="true" dtmfterm="true" maxtime="100s">
<prompt>
This is the message recording system.
</prompt>
<prompt>
Please start your recording at the sound of the beep.
</prompt>
<prompt>
After you are finished, you may press any key to indicate that you are done recording.
</prompt>
<filled>
<prompt>
Your recording was <value expr="recording" /> The message has been saved, you can now sent it from your control panel. Thanks!
</prompt>
<submit next="https://myserver/saveMessage.php" method="post" namelist="recording" enctype="multipart/form-data"/>
</filled>
</record>
</form>
</vxml>
脚本中的一切似乎都工作正常,所有提示都已读取,录音播放正常,但我服务器上的 saveMessage.php 从未被触及(我在 saveMessage.php 顶部放置了一个日志,当我访问 saveMessage 时会触发.php 在我的浏览器中,但在我调用 VoiceXML 脚本时从不触发)。
我错过了一些简单的事情吗?VoiceXML 脚本不能提交到它们不在的服务器旁边吗?