This document was generated from CDN thread
Created by: null on 27-05-2004 12:26:25 PM
Hi I have a dialog state that I enter at verious locations in the application, where it plays different prompts and uses different grammars depending on how and where it was entered from.
As this dialog state is dynamic in nature, I'd also like to be able set VXML properties dynmically, such as incompletetimeout property.
How do you do this in Audium? I'm sure there is a way, however I'm not sure how...
Thanks!
Bernard
Subject: RE: Setting VXML Properties dynamically
Replied by: Michael Bochynski on 27-05-2004 10:36:06 PM
Hi Bernard,
I would suggest setting the VXML Property in your dynamic configuration class, since your dialog state is a dynamic one. The [b:ac69394ce2]VoiceElementConfig[/b:ac69394ce2] class provides methods, such as [i:ac69394ce2]setVXMLProperty()[/i:ac69394ce2], [i:ac69394ce2]removeVXMLProperty[/i:ac69394ce2], [i:ac69394ce2]getVXMLPropertyValue()[/i:ac69394ce2] and [i:ac69394ce2]getVXMLPropertyNames[/i:ac69394ce2], to access and modify VXML properties.
Please note, that the dynamic configuration allows you to do everything you mentioned in the post, such as chaniging prompts, configuring grammar and setting the VXML properties.
Hope this helps,
Michael