cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7846
Views
0
Helpful
7
Replies

Voice Gateway cache issue

mohamed-gheta
Level 1
Level 1

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

7 Replies 7

PATRICK WILD
Level 4
Level 4

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.

Thanks so much my friend I will test it and get back to you

Regards,

Mohamed Gheta

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.

>>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

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.

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.

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: