Audio files in outbound calls take a long time to start
Posted: Fri Dec 20, 2013 9:28 am
Hi there
We've deployed an application that makes outbound calls through Plum DEV.
This is our script (I've taken out the path to the actual file):
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt>
<audio src="http://d2y5b8wojd3ahd.cloudfront.net/PATH-TO-FILE">
</audio>
</prompt>
</block>
</form>
</vxml>
Our problem is, that when the calls arrive, it takes about 8-10 second of static noise before the MP3 file starts to play. The MP3 file is encoded in mono at 64kbps and served from Amazon's cloudfront CDN, so hosting is as fast as you can get it, and yet the delay is there.
We noticed the same delay when we had a text-to-speech message in there. Always about 8-10 seconds before the audio starts and same thing when the MP3 files where 160kbps stereo, so the format of the audio file doesn't seem to make any difference.
Is there anything that can be done about that delay?
We've deployed an application that makes outbound calls through Plum DEV.
This is our script (I've taken out the path to the actual file):
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt>
<audio src="http://d2y5b8wojd3ahd.cloudfront.net/PATH-TO-FILE">
</audio>
</prompt>
</block>
</form>
</vxml>
Our problem is, that when the calls arrive, it takes about 8-10 second of static noise before the MP3 file starts to play. The MP3 file is encoded in mono at 64kbps and served from Amazon's cloudfront CDN, so hosting is as fast as you can get it, and yet the delay is there.
We noticed the same delay when we had a text-to-speech message in there. Always about 8-10 seconds before the audio starts and same thing when the MP3 files where 160kbps stereo, so the format of the audio file doesn't seem to make any difference.
Is there anything that can be done about that delay?