Author Message
Athron
Joined: Nov 4, 2013
Messages: 40
Offline
Hi Guys, just wondering if someone could help me on the issue. Intermittently MPP is fetching the wrong audio file from the cache. I found a solution which indicates application level change on Avaya Support Site:

https://support.avaya.com/public/index?page=content&id=SOLN226156&group=UG_PUBLIC



Mechanism for a fresh fetch.
To always do a fresh fetch, you can put the VXML app in “jsp” file, and write a java script to indicate no cache is desired.

<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us" >
<%@ page language="java" %>
<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma", "no-cache");
response.setHeader("Expires", "1");
%>

<form id="form0">

</form>


Just want to know how could we implement the above on our application, how could you VXML app in JSP file and java script to insert the code above. Could you provide a sample application for the above. Appreciate any help.

AAEP 7
AAOD 7.0.1.0804
Eclipse 3.7.1


Thanks in advance.

Athron
Joined: Nov 4, 2013
Messages: 40
Offline
Is this code needs to be inserted to approot?
SamareshKowshik
Joined: Nov 6, 2013
Messages: 351
Offline
Take a look at this post:

http://www.devconnectprogram.com/forums/posts/list/17810.page#p72350

In specific, check out the sample app that's included in the second post, as I think that might be helpful.
Go to:   
Mobile view