We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

File caching of audio (mp3) files

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
melsullivan
Posts: 20
Joined: Mon Oct 10, 2005 3:52 pm

File caching of audio (mp3) files

Post 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

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR script using maxage attribute

Post 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

Post Reply