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

Created by: null on 14-03-2005 10:53:50 PM
Where can I find a sample of code to execute during a hot-event? I want to log some data whenever I reach this particular event but recover back in the call flow (with a possible audio message indicating the feature isn't currently available.) Is there a place I can look for a template bit of code for hot-event processing?

Thanks,
Fred van West
Syntellect, Inc.
[email protected] :?:

Subject: RE: HotEvent code
Replied by: Michael Bochynski on 17-03-2005 11:20:14 PM
Hi Fred,

Your custom class for HotEvent would have to implement [b:24cb83e39b]HoteventInterface[/b:24cb83e39b] interface with a single method [i:24cb83e39b]addEventBody()[/i:24cb83e39b]

Note, however, that HotEvent code will be added to the root document and created in advance. Thus, you would have a generic message saying that the particular option is not available. You can also use VoiceXML log tag to log this event.

Note that noMatch and noInput will not trigger HotEvent code, since those events are being caught locally by an element.

Hope this helps,
Michael

Subject: I didn't see any sample code for this
Replied by: null on 17-03-2005 11:24:02 PM
Can you point me to a piece of sample code?

Subject: RE: I didn't see any sample code for this
Replied by: Michael Bochynski on 17-03-2005 11:27:24 PM
Hi,

There is no specific code sample for the HotEvent element, however you can refer to a sample code, especially for creating a voice element, in Audium Studio & Call Services -- Developer Resources

Regards,
Michael
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