Hi,
Im trying to throw a custom event inside my custom element and then catch this event using a hotevent. is this possible? does anybody have a sample code for that? I understand that this is relatively simple in flat VXML (<throw event="com.myevents.event"/>) but how can this be done using Audium API? Tanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is this inside a voice element - and are you actually trying to create the equivalent of a <throw> element - to have the VXML Gateway throw an event that you catch in the studio app?
Or are you inside an Action or Decision?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you are writing your own voice element, it looks like VAction class allows you to create a <throw> tag.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
its inside a voice element. a Vform to be exact. and yes, im trying to mimic part of the throw element.Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found this in the javadocs under VAction:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.