Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: null on 11-10-2005 03:53:57 PM As an upcoming requirement for our project(s), we need to add a line or two of custom VXML to the beginning of every generated page from Audium. Is there a JAR file that I can include and then create my own custom elements (Audio, Decision, Menu, etc..) in Builder to extends the core Audium elements that they would link to?
Subject: RE: Extending Core Audium Elements Replied by: Vance Vagell on 11-10-2005 03:58:52 PM Hi Rich,
There are several ways to approach this task. Could you please provide details as to what kind of VoiceXML needs to be included on each page? Any additional information you could provide would be helpful.
Regards, Vance
Subject: RE: Extending Core Audium Elements Replied by: null on 11-10-2005 04:13:44 PM I believe that a simple VXML comment line containing the name of the current element is all that is needed to be inserted at the top of each page generated by Audium - not sure how we can accomplish this though.
Subject: RE: Extending Core Audium Elements Replied by: null on 18-10-2005 03:14:45 PM Any ideas?
Subject: RE: Extending Core Audium Elements Replied by: Michael Bochynski on 18-10-2005 03:58:03 PM Hi Rich,
Note that the Voice XML produced by Call Services is designed to be read by voice browser, not by human eye. Hence, all comments will be ignored by parser. Note that VoiceXML 2.0 Specification does not define VoiceXML comment tag and there is no method to add XML comment to an element.
If you are looking to add a proprietary tag to your custom elements, I would suggest looking at the Javadocs for Tellme. You can find those Javadocs in AUDIUM_HOME/gateways/tellme_nuance_01/javadocs.
Note that if you want to extend your elements you would need elements.jar and framework.jar located in AUDIUM_HOME/common/lib and in AUDIUM_HOME/lib respectively.
Moreover, every Audium element allows to add custom VoiceXML property. You can add in the Settings tab in Element Configuration panel.
However, if you could tell me what functionality are you trying to achieve I might be able to suggest the solution which would suit you the best.
Regards, Michael
Subject: RE: Extending Core Audium Elements Replied by: Vance Vagell on 19-10-2005 06:27:53 PM Hi Rich,
Per our telephone call this afternoon, I am posting some information about how to add the VoiceXML log tag to custom elements (and/or wrapped elements, in your case). By adding this tag, you will add VoiceXML that your testers can see to reference the stage of the Audium application they are in. Additionally, since you would eventually like to include logging functionality in your wrappers, this is a good first step in that direction.
By adding this VAction object to the VMain object of the voice element (every voice element receives a reference to this object passed to its addXmlBody() method), a log tag will be outputted at runtime, holding any values you require. In the example we discussed, it could hold the name of the current element in the callflow.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: