VoiceXML不会发送录音以便下次提交

时间:2014-04-30 15:30:48

标签: php vxml voicexml nexmo

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

1 个答案:

答案 0 :(得分:0)

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