voicexml | NodeJS VoiceXML Interpreter | Runtime Evironment library
kandi X-RAY | voicexml Summary
kandi X-RAY | voicexml Summary
NodeJS VoiceXML Interpreter
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of voicexml
voicexml Key Features
voicexml Examples and Code Snippets
Community Discussions
Trending Discussions on voicexml
QUESTION
To my understanding, the functionality of a element is to define prompt audio to be played, followed by the system waiting for a user utterance. My impression comes from the VoiceXML 2.0 specification for prompts:
Conceptually, prompts are instantaneously queued for play, 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.
Additionally, I understand the difference between a and a
to be that:
- a
is a control item and is "not for gathering input", and
- a
is an input item whose value is "gather[ed] from the user"
Lastly, I know that a can be a direct child of both a
and
.
I am pretty sure that a
collects input when inside a
, but what is supposed to happen when it is inside a
, since blocks are control items?
In the case that a
in a
does not collect input and only plays audio, why wouldn't you instead write the text for a prompt as content inside a
, omitting the
?
ANSWER
Answered 2019-Jul-10 at 19:59There is no difference.
1 - It is the field that is driving the input process, not the prompt. Try it without the prompt.
2 - If you aren't using any of the other features of the prompt element, it doesn't matter.
Note, there is something important to realize in the text you quoted. "prompts are instantaneously queued" Prompt and similar element structures just queue audio. Yes, you will usually start to hear them if there is a delay. But, the playback is separate from the element.
As far as to why you might do one over the other, it could just be development style or flow based logic. For example, when playing back data, having multiple blocks that can be jumped through to cover different scenarios might be cleaner that a complex field/prompt configuration.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install voicexml
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page