Page 1 of 1

File caching of audio (mp3) files

Posted: Sun Jan 22, 2006 4:11 pm
by melsullivan
Hi,

we are hosting our mp3 files remotely and calling them from our main voice xml file. Changes to the mp3 files are not being reflected when users call in.

Please advise how/where these files may be cached and how to clear this cache.

I've gone so far as to delete all the mp3 files from the remote server and still the files were getting played, so I know they are being cached somewhere!

Thanks,

Melanie

IVR script using maxage attribute

Posted: Mon Jan 23, 2006 11:33 am
by support
Hello,

Trying setting the following IVR property in your IVR script(s):

<property name="audiomaxage" value="0s" />

This will fetch a fresh copy of each audio file every time. If the files are large, callers will experience delays, but this is probably OK while you are still developing the audio content.

To control caching for one particular file, you can use the maxage attribute of the <audio> tag:

<audio src="something.wav" maxage="86400" />


Regards,

Plum Support