| Can Action and Decision elements produce VoiceXML or set VoiceXML properties? |
| Categories: Audium OpenSDK |
| Article ID: | 130 |
| Last updated: | January 08, 2007 |
| User Opinions |
|
No users have voted.
|
|
Thank you for rating this answer.
|
SUMMARY
This article addresses the question of whether or not Action and Decision elements can be used to generate VoiceXML or to set VoiceXML properties.
SYMPTOMS
Developer is not sure if VoiceXML can be generated or VoiceXML properties can be set by Action and Decision elements.
RESOLUTION
Action elements encapsulate business logic that performs tasks not affecting the call flow, and Decision elements fulfill a similar duty although they have at least two exit states so that they can branch the callflow. Because of their roles, these elements have no means of communicating with the voice browser, and it would be inappropriate for them to do so.
In order to produce VoiceXML pages, or set VoiceXML properties, a voice element should be used. Built-in voice elements produce VoiceXML pages automatically when they are visited, and custom voice elements can be created to generate developer-specified VoiceXML. Additionally, on the Settings tab of a voice element's configuration, VoiceXML properties can be defined that will be included in the VoiceXML pages that the voice element produces.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Attachments |
|
No attachments were found.
|