Audiomaxstale

Audiomaxstale

The audiomaxstale attribute tells the platform the maximum acceptable staleness, in seconds, of expired cached audio resources. The default value for this attribute is 0 seconds. As an example, let’s say audiomaxage has a value of 150 seconds and audiomaxstale has a value of 25 seconds. For simplicity, let's say the expiration time of "test.wav" is when it is 100 seconds old. According to the flowchart of fetching a resource from the cache, since the age of the cached resource is less than the value of audiomaxage (110 < 150), it would check the expiration time of "test.wav". Since the age of the cached resource is greater than the expiration time (110 > 100), an audiomaxstale check is done. Since the audiomaxstale value is provided, the cache engine then checks if the cached copy has exceeded the expiration time by no more than audiomaxstale seconds. Since the cached copy has only exceeded the expiration time by 10 seconds (110 - 100 = 10) and this time is less than the audiomaxstale value (10 < 25), the cache engine fetches "test.wav" from the server using GET.

Related links

Search Glossary

Term of the Day

The disconnect element is used to disconnect a specific call leg in a VoiceXML document.