Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Gateway Http client cache

I replace the wav file in media server, clear ip http client cache all command in all my voice gateways but still i am getting the same old prompt. I replace the Network VRU script to point out new file with new name and it start workin. Can somebody tell me why http client cache is not being clear with the command "clear ip http client cache"

Cisco Employee

Re: Gateway Http client cache

Hi Khalid,

you might run into CSCsb02177, try this instead of the hidden command or any of the options below if the reload is not working:

test http client get <http://IP_Addr_of_Media_Server/Path/your.file>

http://IP_Addr_of_Media_Server/Path/your.file reload

A) "Test commands"

1) test http client {get | head }

The command allows the user to specify the url which need to be used in the Get/head action

2) test http client {cache | force-close} enable

This command enables the caching/force-close option. The force-close option in the Get test command is used

to close the connection once the transaction isdone. If enable is not specified all these options will be disabled by


3) test http client {put | post} [auth ]

This command allows the user to specify the url to test in put /post aciton.

Also user can specify the user name & password if "auth" option is given

4) test http proxy auth

This command enables the user to specify proxy related information

B) To check refresh time set and elapsed time:

sh http client cache

C) For TCL/IVR scripts, instead of the vxml applications:

call app voice load

audio-prompt load <http://IP_Addr_of_Media_Server/Path/your.file> http://IP_Addr_of_Media_Server/Path/your.file


Synchronize the date time between the gateway and the HTTP media server.

Synchronization does not have to be exact, but at least within a minute or two.

Unsynchronized times will cause prompts to never refresh or they will refresh with every call, both of which are undesirable behaviors.




Re: Gateway Http client cache

The "test" mode requires a special set up of the voice gateway. May not be possible on a production gateway

The command above works on WAV files too. I simply use

audio-prompt load http://exactpath

Say you want to refresh foo.wav. Call show http client cache | inc foo.wav

and you will see what you need. Copy that address and paste it after

"audio-prompt load http://"

and press return. It will then say

Reload of xxx successful.

Run show http client cache | inc foo.wav again and look at the age. It will be obvious that it has been reloaded.

Works like a dream - unless you have a lot to do.



New Member

Re: Gateway Http client cache

Thanks Geoff. It really help.