0

我有这个 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 脚本不能提交到它们不在的服务器旁边吗?

4

1 回答 1

0

有一个问题是我的电话提供商 ( http://nexmo.com ) 不信任我的 comodo 签名 SSL 证书。我将它们发送到 http myserver/saveMessage.php 而不是 https,它“修复”了问题(直到我获得新证书)。

于 2014-05-01T21:43:08.400 回答