Cisco Cisco Unified Customer Voice Portal 11.0(1) User Guide

Page of 83
C
HAPTER 
2:
 
C
ISCO 
CVP
 
V
OICE
XML
 
C
OMPONENTS IN 
D
ETAIL
 
 
C
ISCO 
CVP
 
V
OICE
XML 
 
 
User Guide 
 
Hotevents 
A hotevent is some developer-defined action performed whenever a VoiceXML event is 
triggered. Hotevents can take two forms. The first simply moves the caller to a new part of the 
call flow when the event is triggered, similar to a hotlink. In this case the hotevent can be defined 
entirely in the CVP VoiceXML Studio by the application designer and does not require any 
additional work by a developer. The second form of a hotevent executes custom VoiceXML 
content when the event is triggered (and may optionally also move to another part of the call 
flow).  
The second form requires a Java class that returns the VoiceXML to execute when the event is 
triggered. This class is accessed once per call, not when the event is triggered. This is because 
hotevents appear in the VoiceXML root document, which is generated when the application is 
started or updated. For this reason the API provided to hotevents do not have access to call 
information normally given to other components. The purpose of a hotevent is solely to produce 
VoiceXML that will execute when the event is triggered. 
A hotevent can be created to react based on a standard VoiceXML event such as nomatch or 
noinput, but a more common use for a hotevent is to be triggered by a developer-specified or a 
voice browser-specific event. For example, one can create a hotevent to play audio when a 
custom event occurs. 
As with any other component that produces VoiceXML, the hotevent utilizes the VFCs and 
therefore can only be constructed with the Java API. 
Say It Smart Plugins 
In CVP VoiceXML Server, developers can create their own Say It Smart plugins. Similar to 
custom elements, Say it Smart plugins are pre-built Java classes that when deployed in the CVP 
VoiceXML Studio can be used as a new Say It Smart type. As with custom elements, the level of 
integration required with the CVP VoiceXML software restricts the creation of Say It Smart 
plugins to the Java API. 
Custom Say It Smart plugins can be constructed to read back formatted data not handled by CVP 
VoiceXML Say It Smart plugins, such as spelling playback or reading the name of an airport 
from its three-digit code. Plugins can also be created to extend the functionality of existing 
plugins, such as adding new output formats to play the information in another language. For 
example, a plugin can define a new output format for the CVP VoiceXML Date Say It Smart 
plugin that reads back dates in Spanish. 
Refer to the Programmer Guide for a full description of the process of building custom Say It 
Smart plugins. 
 
 
©2000 - 2005 Audium Corporation.  All Rights Reserved.  1/14/05
 
29