Audium Knowledge Base

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Jump to ID Browse by Category
How to reference session and element data from within a VoiceXML Insert element
Categories: Audium Studio (3.4.x)
Article ID: 52
Last updated: November 02, 2006
User Opinions
No users have voted.

How would you rate this answer?
Helpful
Not helpful
SUMMARY

This article describes how to access session and element data from within the VoiceXML of a VoiceXML Insert element.

SYMPTOMS

Developer is writing the VoiceXML for a VoiceXML Insert element and would like to reference session and element data that has been stored by the Audium application.

RESOLUTION

In order to allow VoiceXML Insert elements the ability to perform almost any task a built-in element can perform, many variables are provided to the VoiceXML Insert element.  Among these variables are those that were added to session and element data before the VoiceXML Insert element was visited.

Session data can be accessed by referring to variables in the form of:

audium_session_[VARNAME] (e.g. audium_session_userchoice1)

Element data can be accessed by referring to variables in the form of:

audium_[ELEMENT]_[VARNAME]  (e.g. audium_menu1_value)

Note, however, that VoiceXML Insert elements will not receive these variables unless the "All Element/Session Data" checkbox is checked in the element's configuration.

For more information about the variables provided to VoiceXML Insert elements, please refer to the User Guide.
Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.

Copyright (c) 2005 Audium Corporation. All rights reserved.
Audium Home | Audium Support Center Home | Audium Customer Care Home