02-24-2018 07:46 AM - edited 03-14-2019 05:58 PM
how to set audio refresh in the gateway , currently it is set as 1 sec but not refreshing immediately , needs to do stale command to take effect after copying the media files every time...
I want the cache to be refreshed and new media file should play immediately with out forcing an audio to refresh. This issue for both CVP /Micro applications..
Application server -IIS 8
IOS ver 15.5.
Call /VXML /Media server is same box
Gateway settings
http client cache memory pool 100000
http client cache memory file 10000
http client cache refresh 1 (changed to 1 sec by default it was 86400 sec ie 24 hours)
http client connection timeout 60
http client connection idle timeout 10
http client response timeout 30
ivr prompt memory 20000
ivr prompt streamed all
Thanks,
Thanveer
Solved! Go to Solution.
02-24-2018 11:09 AM
Hi the reason this CLI command you're trying to do isn't taking effect is because it won't take effect when one of the following headers will exist while initially downloading the media files from the IIS server:
And I bet the your IIS is serving the media files with one of the above, almost 100% sure.
What you can do, is actually go to your IIS configuration manager, go to the relevant folder that you want to serve with a minimum refresh time, then select HTTP Response Headers in the center, then in the Actions panel (the right panel), click on Set Common Headers and then you can configure it like that:
Well, I wouldn't recommend doing that, because you're loosing the caching ability. And your VXML gateway will have to re-download for every new request the files all over again.
At least do not configure it every 1 second, at least 5-10 minutes. But this is your choice ;)
02-25-2018 08:39 AM
02-24-2018 11:09 AM
Hi the reason this CLI command you're trying to do isn't taking effect is because it won't take effect when one of the following headers will exist while initially downloading the media files from the IIS server:
And I bet the your IIS is serving the media files with one of the above, almost 100% sure.
What you can do, is actually go to your IIS configuration manager, go to the relevant folder that you want to serve with a minimum refresh time, then select HTTP Response Headers in the center, then in the Actions panel (the right panel), click on Set Common Headers and then you can configure it like that:
Well, I wouldn't recommend doing that, because you're loosing the caching ability. And your VXML gateway will have to re-download for every new request the files all over again.
At least do not configure it every 1 second, at least 5-10 minutes. But this is your choice ;)
02-25-2018 08:39 AM
Good post, Slavik.
Regards,
Geoff
02-25-2018 06:37 PM
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