The VoiceObjects Concept

VoiceObjects
VoiceObjects are the core components from which applications are built. Based on an object-oriented approach VoiceObjects 6 contains different VoiceObject types which each provide specific functionality and properties. A created instance of any VoiceObject type is a so-called VoiceObject. Each VoiceObject has a particular configuration and can be used wherever its specific kind of behavior is needed. Once a VoiceObject has been created, it can be re-used multiple times within different contexts. This reusability applies to single VoiceObjects as well as to complex VoiceObject sequences. This reduces development and maintenance efforts significantly.

Since the VoiceObject principle uncouples the underlying technology from the application, it allows designers to build user-friendly applications without Java or VoiceXML coding.

VoiceObjects are grouped into five categories:

  • Components - Higher-level VoiceObjects which provide comprehensive dialog flow capabilities, like a Menu or browsable List.

  • OSDMs – VoiceObjects that provide comprehensive dialog flow capabilities based on OpenSpeech DialogModules (ODSMs.)

  • Resources - VoiceObjects which provide access to external resources such as prerecorded audio files (e.g. Wave-files) or already existing VoiceXML files.

  • Logic - VoiceObjects which provide programming elements to control the business logic and the corresponding dialog context.

  • Actions - VoiceObjects which offer interactive dialog control for the caller, such as transfers or hyperlinks.

  • Layers - VoiceObjects that offer dynamic dialog configuration capabilities.

Reusability of VoiceObjects
Developing voice applications with VoiceObjects is an object-oriented (OO) approach. As in OO programming languages VoiceObjects is based on objects of different types which each provide specific functionality, representation and properties. The created object instances of these different types - the so-called VoiceObjects - all have their particular configurations and can be used wherever their specific behavior is needed.

This modular approach ensures the reusability of VoiceObjects. A VoiceObject is created just once, but can be used multiple times within different contexts. This reusability applies to single VoiceObjects as well as to complex object sequences and reduces the development and maintenance effort significantly.

Inheritance
Within Module objects global settings can be specified for Event Handling (e.g. No Match, No Input or Help) dialog Navigation and Tuning that are inherited by all subordinate VoiceObjects. This inheritance lets designers define dialog behavior only once at the root module level for it to apply throughout the entire application. Based on the object-oriented approach, global settings defined in a Module object can be overridden locally within the subordinate VoiceObjects.

Inheritance also works with multiple Module objects, so that in a deeply nested dialog flow a full hierarchy of inherited parameters applies. This is particularly useful when re-using Module objects across applications. Since the general applications settings will be inherited, certain aspects of a Module's behavior may come from the application containing it.

The Layer concept
Layers are an integral part of VoiceObjects. They allow designers to easily separate the core application logic from the way an application is presented. Layers can influence aspects such as language or persona, but they can also change the application behavior itself. For instance, a menu can have additional choices for gold customers depending on specific profile data available to the application, or certain application features can be disabled outside normal business hours.

Layers attach to individual VoiceObjects, the core components from which applications are built. They can be seen as orthogonal functionality to the dialog. Designers may stack any number of layers on top of each other when building their applications. VoiceObjects Server performs the task of dynamically combining them at call time, rendering the correct mark-up language, thus eliminating the need to manually consider all of the different combinations that may occur at development time.

Standard layers are available for Event Handling, Navigation, and language but designers can easily build their own layers for dialog properties like Persona, service levels, or any other personalization option a dialog requires.

go to top