Cisco Cisco Customer Voice Portal Downloads Mode D'Emploi
C
HAPTER
3:
C
ISCO
U
NIFIED
CVP
W
ORKSPACE
V
OICE
XML
S
TUDIO
U
SER
G
UIDE
FOR
C
ISCO
U
NIFIED
C
USTOMER
V
OICE
P
ORTAL
68
Note that a Hotevent is triggered by a VoiceXML event, not a server-side event such as a Java
exception or an error such as an inaccessible database.
exception or an error such as an inaccessible database.
A Hotevent is rendered as an upside-down trapezoid.
Defining a Hotevent
To define a Hotevent, the VoiceXML event that activates it must first be entered in the Event
text box. The Class text box optionally contains the fully qualified name of the Java class that
will produce the VoiceXML to be executed when the event is triggered. This VoiceXML can
contain anything you desire, such as playing audio, performing browser-level logging, etc. Note
that this Java class is called only once per call, when the call first comes in. The VoiceXML that
it produces will appear in the application’s root document, which means that it will be active for
the remainder of the call (i.e. the VoiceXML is not generated ad hoc when the event occurs; the
initially-generated VoiceXML is used throughout the call).
text box. The Class text box optionally contains the fully qualified name of the Java class that
will produce the VoiceXML to be executed when the event is triggered. This VoiceXML can
contain anything you desire, such as playing audio, performing browser-level logging, etc. Note
that this Java class is called only once per call, when the call first comes in. The VoiceXML that
it produces will appear in the application’s root document, which means that it will be active for
the remainder of the call (i.e. the VoiceXML is not generated ad hoc when the event occurs; the
initially-generated VoiceXML is used throughout the call).
If the Hotevent defines a Java class, it can be configured to have no exit state. The VoiceXML
defined by the class will execute and the call will continue without further interruption. You can
configure the Hotevent to have an exit state by clicking on the Has Exit State checkbox. In this
case, the VoiceXML defined in the Java class will execute and once completed, will follow the
exit state to the appropriate location in the call flow. A class does not need to be given if the
Hotevent has an exit state, it will simply act like a Hotlink and move to the appropriate place in
the call flow when the Hotevent is activated.
defined by the class will execute and the call will continue without further interruption. You can
configure the Hotevent to have an exit state by clicking on the Has Exit State checkbox. In this
case, the VoiceXML defined in the Java class will execute and once completed, will follow the
exit state to the appropriate location in the call flow. A class does not need to be given if the
Hotevent has an exit state, it will simply act like a Hotlink and move to the appropriate place in
the call flow when the Hotevent is activated.
Hotlinks
Definition
Hotlinks allow a caller to say an utterance or press a key at any time to have the application
perform a specific action. The most common example is saying the word "operator" (and / or
pressing “0”) to transfer to a live representative.
perform a specific action. The most common example is saying the word "operator" (and / or
pressing “0”) to transfer to a live representative.