- labels: --> VoiceXML Behaviour
- milestone: --> General
- assigned_to: nobody --> tobi-wan-kenobi
As reported of Norbert Huffschmid:
it seems that audio play and recording works on the
local file system only:
Works:
<audio src="/somepath/somefile.wav"></audio>
But: /somepath/somefile.wav is related to the server's
root directory and NOT related to the webservers
DOCROOT directory as it should. This can become an
security/privacy issue, because a VoiceXML script can
access all wav files on the server running VoiceXML!!!
Works NOT:
<audio
src="http://www.foobar.com/mypath/myfile.wav"></audio>
Error message: "Can't download file ... sorry!"
It seems that referencing of remote audio files does
not work at all.
Similar for recording:
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<record name="haw_recording" beep="true">
<prompt>From which country do you come from?</prompt>
<filled><submit next="/somepath/somescript.php"
enctype="multipart/form-data" method="post"
namelist="haw_recording"/></filled>
</record>
</form>
</vxml>
==> The recording is stored in the PVX/bin directory
and is NOT sent multipart/form-data encoded to the
webserver, as required by the VoiceXML recommendation.