Mailing List Archive

VXML IVR Caching and 5350
Hi


I can't underestand how VXML document caching works with 5350 http client. Seems like if i have played voice promt once it remains in cisco's memory. I cant find a command how to clear cahched files. If I reload application - audio files are still in memoy. I have tried to decrease caching time with "http client cache refresh " command, but it doesn't have any effect. Has anybody experience or some hint how to handle voice file caching.
RE: VXML IVR Caching and 5350 [ In reply to ]
From Cisco's website:

http://www.cisco.com/en/US/products/sw/custcosw/ps1846/products_programming_reference_guide_chapter09186a00800c49db.html#1014331

They say "When a request is made for the same URL, the cache response is checked for expiration. If it has not expired (based on the expires HTTP response header), a conditional HTTP request is made using the last-modified and/or etag values from the cached response.".

________________________________

From: cisco-voip-bounces@puck.nether.net on behalf of Riho Raassild
Sent: Mon 5/10/2004 7:31 AM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] VXML IVR Caching and 5350


Hi


I can't underestand how VXML document caching works with 5350 http client. Seems like if i have played voice promt once it remains in cisco's memory. I cant find a command how to clear cahched files. If I reload application - audio files are still in memoy. I have tried to decrease caching time with "http client cache refresh " command, but it doesn't have any effect. Has anybody experience or some hint how to handle voice file caching.
Re: VXML IVR Caching and 5350 [ In reply to ]
Hi

It means, if I'll change file in my webserver Cisco's http client should
underestand this immediatly (last.modified time changes)? In my case Cisco
still get file from own cache and plays it. If I look my memory contest with
"sh http client cahce" I can see that file exist in my cache, but under
Non-Cached entries (record.au). Is there any command to erase cache contest
manually ?

Riho

Router#sh http client cache
HTTP Client cached information
==============================
Maximum memory pool allowed for HTTP Client caching = 100 K-bytes (default)
Maximum file size allowed for caching = 10 K-bytes
Total memory used up for Cache = 3578 Bytes
Message response timeout = 10 secs
Total cached entries = 2
Total non-cached entries = 1

Cached entries
==============
Cached table entry 97, number of cached entries = 1
hvxmltree Request URL Ref FreshTime Age Size
------------ ----------- --- --------- --- ----
64C3D9C4, 212.107.44.39/demo.xml
0 0 1283125 463
212.107.44.39/demo.xml
0 0 1283125 463
Cached table entry 103, number of cached entries = 1
hvxmltree Request URL Ref FreshTime Age Size
------------ ----------- --- --------- --- ----
0, 212.107.44.39/record1.au
1 3 73468 1023
212.107.44.39/record1.au
1 3 73468 1023
Non-cached entries:
===================
Request URL Ref Size
----------- --- ----
212.107.44.39/record.au
1 2175



> From Cisco's website:

>
http://www.cisco.com/en/US/products/sw/custcosw/ps1846/products_programming_reference_guide_chapter09186a00800c49db.html#1014331

> They say "When a request is made for the same URL, the cache response is
> checked for expiration. If it has not expired (based on the expires HTTP
response
> header), a conditional HTTP request is made using the last-modified and/or
etag
> values from the cached response.".

________________________________

From: cisco-voip-bounces@puck.nether.net on behalf of Riho Raassild
Sent: Mon 5/10/2004 7:31 AM
To: cisco-voip@puck.nether.net
Subject: [cisco-voip] VXML IVR Caching and 5350


Hi


I can't underestand how VXML document caching works with 5350 http client.
Seems like if i have played voice promt once it remains in cisco's memory. I
cant find a command how to clear cahched files. If I reload application -
audio files are still in memoy. I have tried to decrease caching time with
"http client cache refresh " command, but it doesn't have any effect. Has
anybody experience or some hint how to handle voice file caching.
Re: VXML IVR Caching and 5350 [ In reply to ]
Hello Riho,

there is a command to reload audio files on the prompt:

audio-prompt load "name"

http://cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a0080087b3d.html#13716

I don't know if it works also for VXML/HTML, but with my IVR
it works to reload the audio files stored on a TFTP server.

Regards,
Christian Braun.

On Tue, May 11, 2004 at 11:55:30AM +0300, Riho Raassild wrote:
> Hi
>
> It means, if I'll change file in my webserver Cisco's http client should
> underestand this immediatly (last.modified time changes)? In my case Cisco
> still get file from own cache and plays it. If I look my memory contest with
> "sh http client cahce" I can see that file exist in my cache, but under
> Non-Cached entries (record.au). Is there any command to erase cache contest
> manually ?
>
> Riho
>
> Router#sh http client cache
> HTTP Client cached information
> ==============================
> Maximum memory pool allowed for HTTP Client caching = 100 K-bytes (default)
> Maximum file size allowed for caching = 10 K-bytes
> Total memory used up for Cache = 3578 Bytes
> Message response timeout = 10 secs
> Total cached entries = 2
> Total non-cached entries = 1
>
> Cached entries
> ==============
> Cached table entry 97, number of cached entries = 1
> hvxmltree Request URL Ref FreshTime Age Size
> ------------ ----------- --- --------- --- ----
> 64C3D9C4, 212.107.44.39/demo.xml
> 0 0 1283125 463
> 212.107.44.39/demo.xml
> 0 0 1283125 463
> Cached table entry 103, number of cached entries = 1
> hvxmltree Request URL Ref FreshTime Age Size
> ------------ ----------- --- --------- --- ----
> 0, 212.107.44.39/record1.au
> 1 3 73468 1023
> 212.107.44.39/record1.au
> 1 3 73468 1023
> Non-cached entries:
> ===================
> Request URL Ref Size
> ----------- --- ----
> 212.107.44.39/record.au
> 1 2175
>
>
>
> > From Cisco's website:
>
> >
> http://www.cisco.com/en/US/products/sw/custcosw/ps1846/products_programming_reference_guide_chapter09186a00800c49db.html#1014331
>
> > They say "When a request is made for the same URL, the cache response is
> > checked for expiration. If it has not expired (based on the expires HTTP
> response
> > header), a conditional HTTP request is made using the last-modified and/or
> etag
> > values from the cached response.".
>
> ________________________________
>
> From: cisco-voip-bounces@puck.nether.net on behalf of Riho Raassild
> Sent: Mon 5/10/2004 7:31 AM
> To: cisco-voip@puck.nether.net
> Subject: [cisco-voip] VXML IVR Caching and 5350
>
>
> Hi
>
>
> I can't underestand how VXML document caching works with 5350 http client.
> Seems like if i have played voice promt once it remains in cisco's memory. I
> cant find a command how to clear cahched files. If I reload application -
> audio files are still in memoy. I have tried to decrease caching time with
> "http client cache refresh " command, but it doesn't have any effect. Has
> anybody experience or some hint how to handle voice file caching.
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip