O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.8. Events

For a voice application to be useful it must respond in real time to user input. VoiceXML models these real-time occurrences as events. Much of this event handling happens automatically - an active grammar is satisfied by user's response, thus causing a form field to be filled. In this situation the VoiceXML programmer doesn't need to explicitly catch the event. It is implicit in the definition of the grammar element and the elements that comprise the form.

The VoiceXML programmer usually needs to worry about events only for exceptional behavior, such as the caller's response not being understood by the speech recognizer, or the caller asking for help. In these situations the VoiceXML programmer may want to "catch" an event - in other ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required