
VoiceXML Tutorial BeVocal, Inc. 685 Clyde Avenue Mountain View, CA 94043 Part No. 520-0002-02 Copyright © 2005. BeVocal, Inc. All rights reserved. 2 VOICEXML TUTORIAL Table of Contents Preface. .1 Prerequisites . 1 Conventions . 1 How to Use This Tutorial . 2 Other Sources of Information . 3 If You Need Help . 3 1. Introduction . .5 A Typical Application . 5 Voice Access to the Web . 6 First Steps . 6 Application Development . 6 Basics of VoiceXML . 7 Basic Syntax . 7 Header . 8 Main Body . 8 2. A Basic Dialog. 11 Example Application. .11 Initialization and Debugging Features . 12 Initialization . 12 Maintainer . 12 Comments. 12 Document Reload . 13 Help and Error Handling . 13 Forms and Fields . 14 Block . 14 Basic Field Format . 14 Variables . 15 Field Computation . 16 Form Reset . 17 Summary . 17 VOICEXML TUTORIAL 3 3. Variables, Expressions, and JavaScript . .19 JavaScript in VoiceXML . 19 JavaScript Expressions in Attributes. 19 Script Elements . 20 Special Characters in JavaScript . 20 Functions . 21 Text Manipulation in Functions. 23 More on Variables . 23 Variable Scopes . 23 Properties . 24 Applications and Root Documents . 25 4. Forms . .27 Forms and Form Items. 27 Fields . 28 Field Types . 28 Interpretation Order . 29 Mixed-Initiative Forms . 29 5. Prompts . .31 Prerecorded Audio Data. 31 Barge-in . 32 Error Prompts. 32 Reprompts . 33 Tapered Prompts . 34 Speech Timeouts . 35 6. Interaction with Servers . .37 Data Submission . 37 Data in URIs. 38 7. Other VoiceXML Elements . .39 Links. ..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages68 Page
-
File Size-