Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Changing VoiceXML default event handling

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.

maxspeechtimeout (applies only to the AVvoicxml2-0 package)

The user was speaking when the maxspeechtimeout period elapsed

Plays an audio file that tells the user that maxspeechtimeout was exceeded and asks the user to say something shorter.

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.

© 2006 Avaya Inc. All Rights Reserved.