Author Message
DavidKeith [Avatar]

Joined: Nov 14, 2013
Messages: 4
Offline
In my current Orchestration Designer IVR project I have a call to a webservice via some java script. The call is sometimes slow, is there a way to use the fetchaudio command to play a message while the javascript runs. If so where do I set the fetchaudio?
desirekengfack
Joined: Nov 13, 2013
Messages: 10
Offline
I don't know if you can do that directly with OD's properties.

But you can write a normal WebServiceServlet, define it in your web.xml and do not adding it to the main.flow.
Then add a vxml servlet to your main.flow, and then write a java code to generate a <subdialog> inside the method "markupLanguageGeneration" of the vxml servlet.

out.println(<property name="fetchaudio" value="MY_AUDIO_FILE_URL" />);
out.println(<subdialog fetchtimeout="value" name="GIVE_A_NAME" src="/WebServiceServlet.URL" namelist="LIST OF PARAMS"/>);

This subdialog is use to call the WebServiceServlet and then play a message while the WebServiceServlet runs.

but I'm not sure !
MarceloPariggi [Avatar]

Joined: Nov 15, 2013
Messages: 24
Offline
David, did you try to use the transitional audio?

if not, I attached a guide about it.

Regards,
Filename Dialog Designer - Trasitional Audios.doc [Disk] Download
DavidKeith [Avatar]

Joined: Nov 14, 2013
Messages: 4
Offline
This looks exactly what I need. Many thanks. Very helpful
Go to:   
Mobile view