08-01-2009 02:34 AM - edited 03-14-2019 04:26 AM
Dears,
As you know that in CVP based solution the vxml voice gateway caches the .wav files
I need easiest way to replace .wav file, as it takes long time to do work around solution
I tried this command with no negative response
audio-prompt load abc.wav
My work around solution is based on resetting http cash to 1 for the whole VGs which around 63
So please advice
08-04-2009 10:49 AM
There is a manual command to set the audio files to stale per gateway, so the next time they are called, the VG will download the new wav file.
From enable prompt, not config t:
"set http client cache stale"
This is used to clear all cached wav files on a gateway that is being used to pull wav files from a Media Server.
"Clear ip http client cache url"⦠is used when you are not using a media server, but rather a gateway as the media server.
If this is a common problem-
VG-set the max time to 5 minutes or acceptable timeout.
Media Server- setup several directories-
1 directory of files that do not change- set max time to live 24 hours.
1 dicectory of files that do change- set max time to live 5 minutes.
these directories can be sub directory of one another.
The time to live setting is on the IIS portion of the media server.
08-04-2009 09:59 PM
Thanks so much my friend I will test it and get back to you
Regards,
Mohamed Gheta
08-05-2009 02:12 AM
Hi,
The command 'audio-prompt load Wave_File_URL' does not work correctly especially if you have files with the same name in different directories in the Media Server (for example abcd.wav in the EN directory, FR directory...)
You may use the following command:
gw#clear http client cache --> This command clears the cache and enables the VG to load files from Media Server without reloading it.
08-05-2009 12:26 PM
>>clear http client cache
I'd like to know what version of IOS you have that accepts such a command.
The normal way, since the T8 version of 12.4(15), is to call
set http client cache stale - Set all HTTP client cache entries stale immediately
As the name implies, it does not clear the cache at all, but simply marks each one as being stale. "show http client cache" will show each file marked with a # in front of the size. Now a call for that URI will force the HTTP client to fetch it again from the web server.
There is a good Cisco white paper on the HTTP Client Cache - all CVP installers should read this.
Regards,
Geoff
08-06-2009 12:59 AM
We are running IOS 12.4(15)T5.
Which one of the 2 commands should we use?
Can you please send us the link to this white paper.
Thanks.
08-07-2009 06:19 PM
Using this command, it will help
set http client cache stale
But you much make sure that, the new wave file with the same name must be newer then the old file (the Date Created)
If not, it won't load the file you want to VXML cache.
08-07-2009 06:55 PM
Agreed.
I always load the cygnus tools for Windows on ICM servers, as I like to use Unix programs like "grep", "sort", "tail" and so on. I use "touch" to change the date on all the files to NOW and this forces them to be all new and they will then be loaded again.
Regards,
Geoff
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide