cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
825
Views
5
Helpful
4
Replies
Highlighted
Beginner

Audio element plays old wav file and not newly recorded wav file

I have a record with confirm element in CVP. Recording is working and getting saved properly, however when I try to playback the file from an option in a new menu it plays the old file and not the newly recorded file. When I play the file from file system where the recording was saved, I can hear the new wav file. PLease see screenshot below for configuration

4 REPLIES 4
Highlighted

hi Amit,
Did you check the file in VXML gateway cache? issue stale command to clear the cache and try again.
set http client cache stal
Regards,
shalid
Highlighted

if I clear cache then I can play the new file. however this is not feasible in our production environment. this scripts accepts new messages from callers and the wav file gets uploaded every couple of hours. So we need to find a way to automatically let the VXML gateway fetch information everytime for this file
Highlighted

Hi Amit,

 

in that case, you can change the IIS minimum cache expiry settings for this particular folder. 

 

iis setting.JPG

 

instead of min, you can choose 1 second. so every time VXML request for the media file, the file will be downloaded from CVP media server. 

 

IIS configuration manager,

Select the folder

select HTTP Response Headers in the center,

from  Actions panel (the right panel),

click on Set Common Headers

 

Regards,

Shalid

Rate helpful post and mark as answered if it relevant 

 

Highlighted

If you add a parameter to your wav file name it confuses the vxml browser and stops it caching the wav file

Any parameter value will do

Welcome.wav?a=a

This has an impact on performance so you will need to make your own decision if this will adversely affect your system.

Graham

Content for Community-Ad