-
56
pages
-
English
-
Documents
Description
BeVocal VoiceXML Tutorial
Version 1.6
June 2001BeVocal, Inc.
1380 Bordeaux Drive
Sunnyvale, CA 94089
©2001. BeVocal, Inc. All rights reserved.
2 BEVOCAL VOICEXML TUTORIALTable of Contents
Preface 7
Prerequisites 7
Conventions 7
How to Use This Tutorial 8
Other Sources of Information 9
If You Need Help 9
1. Introduction 11
Voice Access to the Web 12
Getting Started 12
Developing an Application 13
Basics of VoiceXML 13
Conclusion 15
2. A Basic Dialog 17
Initialization and Debugging Features 18
Forms and Fields 19
Working with Field Data 21
Conclusion 23
3. Variables, Expressions, and JavaScript 25
JavaScript Expressions in Attributes 25
Script Elements 26
Defining and Using a Function 26
Manipulating Text with Functions 27
BEVOCAL VOICEXML TUTORIAL 3More on Variables 28
Session Variables 28
Variable Scopes 28
Properties 29
Applications and Root Documents 30
4. More on Forms 31
Fields 31
Field Types 32
Controlling Forms 32
Advanced Uses of Prompts 33
Recorded Audio in Prompts 33
Reprompting and Counting Prompts 34
Timeouts 35
Barge-in 35
Mixed-Initiative Forms 35
5. Recording and Playing Audio 37
Playing Stored Audio Data 37
Barge-in 38
Recording User Input 38
6. Interaction with Servers 41
Submitting Data 41
Specifying Variables to Submit 41
Passing Data in URLs 42
7. Other VXML Elements 43
Links 43
4 BEVOCAL VOICEXML TUTORIALMenus 44
Enumerating Choices 44
Using DTMF in Menus 45
Selecting the Next Document, Form, or Field 45
Exiting 46
8. Objects and Subdialogs ...
Version 1.6
June 2001BeVocal, Inc.
1380 Bordeaux Drive
Sunnyvale, CA 94089
©2001. BeVocal, Inc. All rights reserved.
2 BEVOCAL VOICEXML TUTORIALTable of Contents
Preface 7
Prerequisites 7
Conventions 7
How to Use This Tutorial 8
Other Sources of Information 9
If You Need Help 9
1. Introduction 11
Voice Access to the Web 12
Getting Started 12
Developing an Application 13
Basics of VoiceXML 13
Conclusion 15
2. A Basic Dialog 17
Initialization and Debugging Features 18
Forms and Fields 19
Working with Field Data 21
Conclusion 23
3. Variables, Expressions, and JavaScript 25
JavaScript Expressions in Attributes 25
Script Elements 26
Defining and Using a Function 26
Manipulating Text with Functions 27
BEVOCAL VOICEXML TUTORIAL 3More on Variables 28
Session Variables 28
Variable Scopes 28
Properties 29
Applications and Root Documents 30
4. More on Forms 31
Fields 31
Field Types 32
Controlling Forms 32
Advanced Uses of Prompts 33
Recorded Audio in Prompts 33
Reprompting and Counting Prompts 34
Timeouts 35
Barge-in 35
Mixed-Initiative Forms 35
5. Recording and Playing Audio 37
Playing Stored Audio Data 37
Barge-in 38
Recording User Input 38
6. Interaction with Servers 41
Submitting Data 41
Specifying Variables to Submit 41
Passing Data in URLs 42
7. Other VXML Elements 43
Links 43
4 BEVOCAL VOICEXML TUTORIALMenus 44
Enumerating Choices 44
Using DTMF in Menus 45
Selecting the Next Document, Form, or Field 45
Exiting 46
8. Objects and Subdialogs ...
-
Publié par
-
Langue
English