cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
97
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 10-01-2006 06:45:06 AM
Hi,

I am currently having a problem of catching error.recognition exception that was thrown by the IVR system. The current application catches this exception using default error handler that was generated by Audium MFoundationForm element. This resulted in call being disconnected immediately once this error.recognition exception was being caught.

Do you know normally what can cause this error.recognition error? The IVR system that we use is Nortel MPS and it uses ScanSoft OSR for its recognition engine.

Based on my understanding, there are two ways of catching an event in Audium, which are:
1. Using VEvent in VFC (which requires a fully custom element)
2. Using Hotevent method

Since in my case, I'm extending the MFoundationForm standard element, it seems to me that I should use option no. 2 above.

If I use method no.2 above by adding hotevent for "error" and create a logic to distinguish between error.recognition and other errors, will this work? Will using hotevent method take precedence over the <catch event="error"> generated in the MFoundationForm element?

Cheers...

Subject: RE: error.recognition problem
Replied by: Vance Vagell on 10-01-2006 03:45:59 PM
Hi Ronny,

Unless you need context-sensitive handling of the error.recognition event, then the easiest solution is to use a HotEvent element. HotEvent elements allow you to specify the event that they will listen for, and then configure an exit state and/or custom class to execute when the event occurs.

For example, you could add a HotEvent element to your callflow, configure it to listen for error.recognition, and if this event occurs then exit to an Audio element that provides the caller with a friendly message before disconnecting.

For more information about HotEvent elements, please refer to the following Audium Knowledge Base article:

Hotevents

If you require context-sensitive error handling, then you could use the VEvent class to include catch-blocks in a particular custom element's VoiceXML. For more information about the VEvent class, please refer to the Audium Java API Javadocs.

Regards,
Vance
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links