04-27-2008 11:53 PM - edited 03-14-2019 02:09 AM
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"
04-28-2008 12:21 AM
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
default.
3) test http client {put | post}
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
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
Note:
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.
Regards,
Riccardo
04-29-2008 12:50 PM
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.
Regards,
Geoff
05-04-2008 12:05 AM
Thanks Geoff. It really help.
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