Hi rquant,
We've run a couple of tests on your audio files and believe that the issue is being caused by the headers being set for MainMenu.wav.
Here is the script that we ran on 3 audio files:
audiotest.php:
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
?>
<vxml version="2.0">
<form id="audiotest">
<property name="audiomaxage" value="604800s"/>
<property name="audiomaxstale" value="25s"/>
<block>
<prompt>
I'm going to play an audio file.
</prompt>
<audio src="http://<full URL>/<audio file>.wav">
Oops, the audio file could not be retrieved!
</audio>
<audio src="http://<full URL>/<audio file>.wav">
Oops, the audio file could not be retrieved!
</audio>
<audio src="http://<full URL>/<audio file>.wav">
Oops, the audio file could not be retrieved!
</audio>
</block>
</form>
</vxml>
Audio test #1:
Audio file used: audio file stored on one of our internal servers, amorpm.wav
curl -I http://<full URL>/amorpm.wav
HTTP/1.1 200 OK
Date: Thu, 07 Jul 2011 15:55:15 GMT
Server: Apache/1.3.41 (Unix) PHP/5.2.13 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
Last-Modified: Thu, 07 Jul 2011 15:38:15 GMT
ETag: "e6913b-8a94-4e15d2e7"
Accept-Ranges: bytes
Content-Length: 35476
Content-Type: audio/x-wav
Call Log:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://<full URL>/amorpm.wav
Attempting to fetch http://<full URL>/amorpm.wav
Audio segment from the URL http://<full URL>/amorpm.wav added to prompt queue
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://<full URL>/amorpm.wav
Audio segment from the URL http://<full URL>/amorpm.wav added to prompt queue
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://<full URL>/amorpm.wav
Audio segment from the URL http://<full URL>/amorpm.wav added to prompt queue
starting playback: bargein=true, inputmodes="dtmf speech"
Newly queued prompts are now being played
Audio test #2:
Audio file used: data_process.wav
curl -I http://<full URL>/data_process.wav
HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Thu, 07 Jul 2011 16:03:00 GMT
Content-Type: audio/x-wav
Connection: keep-alive
Accept-Ranges: bytes
ETag: W/"118808-1309984225000"
Last-Modified: Wed, 06 Jul 2011 20:30:25 GMT
Content-Length: 118808
Call Log:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://<full URL>/data_process.wav
Attempting to fetch http://<full URL>/data_process.wav
Thu 07 Jul 2011 12:11:13 PM EDT:
Audio segment from the URL http://<full URL>/data_process.wav added to prompt queue
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://<full URL>/data_process.wav
Audio segment from the URL http://<full URL>/data_process.wav added to prompt queue
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://<full URL>/data_process.wav
Audio segment from the URL http://<full URL>/data_process.wav added to prompt queue
starting playback: bargein=true, inputmodes="dtmf speech"
Newly queued prompts are now being played
Audio test #3:
Audio file used: MainMenu.wav
curl -I http://<full URL>/MainMenu.wav
HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Thu, 07 Jul 2011 15:55:37 GMT
Content-Type: audio/x-wav
Content-Length: 8638
Last-Modified: Thu, 16 Jun 2011 20:40:18 GMT
Connection: keep-alive
Expires: Thu, 07 Jul 2011 16:55:37 GMT
Cache-Control: max-age=3600
Content-Disposition: attachment; filename=MainMenu.wav
Accept-Ranges: bytes
Call Log:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://<full URL>/MainMenu.wav
Attempting to fetch http://<full URL>/MainMenu.wav
Audio segment from the URL http://<full URL>/MainMenu.wav added to prompt queue
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://<full URL>/MainMenu.wav
Attempting to fetch http://<full URL>/MainMenu.wav
Thu 07 Jul 2011 11:58:05 AM EDT:
Audio segment from the URL http://<full URL>/MainMenu.wav added to prompt queue
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://<full URL>/MainMenu.wav
Attempting to fetch http://<full URL>/MainMenu.wav
Audio segment from the URL http://<full URL>/MainMenu.wav added to prompt queue
starting playback: bargein=true, inputmodes="dtmf speech"
Newly queued prompts are now being played
As a suggestion, try removing the extra headers from your MainMenu.wav file to see if there's an eventual Cache Hit on that file when you dial into your application.
Hope this helps.
Regards,
Plum Support