Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Event handling in defaults.xml

The defaults.xml file specifies how to handle certain types of events that may occur during the course of a VoiceXML application, if the application itself does not specify how to handle them.

The Avaya Voice Browser (AVB) provides default handling for the following types of events:

Type of event

Description of event

By default the system...

Cancel

The user has asked to cancel playing of the current prompt

Does nothing

Exit

The user has asked to exit

Exits the application

Help

The user has asked for help

Plays an audio file informing the user that no help is provided. On the fifth instance, exits the application.

No input

The user has not responded within the timeout interval

In the first four instances, provides a series of escalating responses ranging from reprompting on the first instance to playing an audio file informing the user that the system cannot hear input. On the fifth instance, exits the application.

No match

The user has input something, but it was not recognized

In the first three instances, plays a series of escalating responses requesting the user to provide input again. On the fourth instance, exits the application.

Telephone disconnect

The user has hung up

Exits the application

Error

An application fatal error has occurred

Attempts to log information about the error, plays an audio file informing the user that a serious error has occurred, and exits the application.

If you plan to use the default event handling specified in the defaults.xml file, you may want to record your own audio files to use for each type and instance of certain events. Copy the audio files to the /voice1/vxml/apps directory and edit the defaults.xml file to reference the new audio recordings.

Any changes you make to the defaults.xml file are not effective until the Avaya VXI process has been restarted. The easiest way to restart the Avaya VXI process is to stop the voice system (using the stop_vs command) and start it again (using the start_vs command). For more information on how to use these commands, see start_vs command and stop_vs command.

� 2002 Avaya Inc. All Rights Reserved.