Documente Academic
Documente Profesional
Documente Cultură
October 2006
VoiceXML
October 2006
Agenda
Part 1. VoiceXML Key Concepts
Part 2. Dialogs
VoiceXml
developm ent
Part 3. Outputs
Part 4. Inputs
Part 5. Control Flow
Part 6. Call Control
Part 7. Server Interaction
Part 8. Resources handling
Part 9. OCMP Specifics
HP Restricted
October 2006
High-level concepts
XML-based language.
Combination of several other languages concepts:
Declarative (ex: HTML): describes a static sequence of user
interaction.
Procedural (ex: ECMA script): avoids round-trips to the server
after every user interaction..
Event-driven (ex: Microsoft): catches the user interaction events
(disconnect).
Object-oriented (ex: Java): handful of constructs where
objects have a series of properties (ex: variable attributes).
HP Restricted
October 2006
Features
Design for creating audio dialogs:
Play audio (prerecorded or synthesized).
Listen and recognize audio.
Record of spoken input.
Recognition of spoken and DTMF key input.
Basic telephony control.
HP Restricted
October 2006
Dialogs
A VoiceXML document
defines a finite state
machine where each state is
a dialog.
doc1.vxml
Dialog 1
Transition: <goto
next=#dialog 2>
Dialog 2
Each dialog specifies the
next dialog to transition to
using an URL.
Transition: <goto
next=http://xyz.com/doc2.vxml>
HP Restricted
October 2006
Outputs:
<audio>, <prompt>
Inputs:
<grammar>, <record>
Control flow: events
handling, variables
Call Control: <transfer>,
<disconnect>
HP Restricted
10
VoiceXML Interpreter
OCMP BASE
10
October 2006
HP Restricted
12
12
October 2006
Application concepts
session
application
document
dialog
anonymous
<menu> or <form>
<block>, <filled> & <catch>
HP Restricted
14
14
October 2006
Root document:
Loaded once a document is
loaded.
Remain loaded until
transition to a nonapplication document.
Doc1
Doc2
Doc3
16
16
October 2006
Doc1
</vxml>
leaf.vxml
HP Restricted
18
18
October 2006
HP Restricted
20
20