This document describes how some VoiceXML error events can be handled gracefully with HotEvent elements instead of a hang-up on the caller.
The information in this document is based on Cisco Unified Call Studio, Universal Edition.
Refer to Cisco Technical Tips Conventions for more information on document conventions.
Symptoms: The call-flow designer wants to account for the more common VoiceXML error events and handle them in the call flow rather than allow default-error handling to occur.
Resolution: The HotEvent element listens for a particular event as specified in its Element Configuration. When that event occurs, its only exit state is followed, and the call flow can continue. While catching some events, such as a hang-up, is discouraged because it can affect the normal functionality of Cisco Unified Call Studio, Universal Edition, there are several events that you can handle in your call flow to improve the experience of the caller in error situations. Refer to your voice-browser documentation for a list of events that the browser can throw within a call.
Here is an example of how you can gracefully handle an automatic server restart (ASR) server if it goes down:
Configure a HotEvent to listen for the event that your voice browser throws in this situation; it can be something like resource.unavailable.asr.
Exit from the HotEvent to a Cisco Unified Call Studio, Universal Edition, element that explains to the caller that a minor error has occurred but that they can continue their call.
Connect the exit state of the Cisco Unified Call Studio, Universal Edition, element to an Application Transfer element.
Use the Application Transfer element to send the caller to a dtmf-only version of the application.
With this approach, if the ASR server goes down, the caller can continue the call. Dependent upon how caller input is stored, the caller possibly needs to reenter some data or go back in the call flow, but at least the caller can continue the interactive voice response (IVR) experience without the need to call back later.
Another example of this usage is for error.badfetch, which can occur if a media server goes down. In that case, you can use a HotEvent to route to a custom Action element that changes the default path to refer to a backup media server instead.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
16-May-2007 |
Initial Release |