|
Newsletters
|
|
|
|
|
Voice XML Reference
Voice XML Reference
Bookmark this page
The prompt Element - <prompt>
Description: The prompt element controls the output of synthesized speech and prerecorded audio.
Conceptually, prompts are instantaneously queued for playing, so interpretation proceeds until
the user needs to provide an input. At this point, the prompts are played, and the system waits
for user input. Once the input is received from the speech recognition subsystem (or the DTMF
recognizer), interpretation proceeds.
Example:
<prompt>Please say your city.</prompt>
| Attributes |
| Name |
Value |
Description |
| bargein |
boolean |
Control whether a user can interrupt a prompt. Default is true. |
| cond |
boolean |
An expression telling if the prompt should be spoken. Default is
true. |
| count |
integer |
A number that allows you to emit different prompts if the user is
doing something repeatedly. If omitted, it defaults to “1”. |
| timeout |
integer |
The timeout that will be used for the following user input. The
default noinput timeout is platform specific. |
Back to Tag Listing
|
|