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 12-07-2006 07:26:38 PM I am trying to execute a VXML insert element but keep getting badfetch error. I have read all the knowldge base articles and am trying to run the example that you have which also doesn't run:
Deepak
VXML INSERT text:
<xml> <vxml> <form id="testform"> <block>This is the initial prompt <assign> <assign> </block> <block>In the VoiceXML element. The ani is <value>. The element history is <value>. User by ani num calls is <value>. Element data foo from element first <value>. Session variable foo2 <value>. </block> <var> <var> <var> <field> <property> <prompt>Say a number.</prompt> <filled> <assign> <if> <assign> <else> <assign> </if> <return> </filled> </field> </form> </vxml>
Subject: RE: Running VXML insert element Replied by: null on 12-07-2006 07:29:41 PM insert text didn't come out right, so I am resending it as an attachment
Subject: RE: Running VXML insert element Replied by: Vance Vagell on 12-07-2006 07:33:53 PM Hi Deepak,
A common cause of this problem is that some voice browsers do not allow ampersands (&) to appear in the VoiceXML unless they are encoded. Please ensure that all ampersands in your VoiceXML are entered as:
[code:1:8e2a43cb9b] & [/code:1:8e2a43cb9b]
One place in the VoiceXML Insert's VoiceXML that always has ampersands is the [b:8e2a43cb9b]application[/b:8e2a43cb9b] attribute of the <vxml> element, which holds a URL with various parameters separated by ampersands.
If this does not resolve your issue, please let us know.
Regards, Vance
Subject: RE: Running VXML insert element Replied by: null on 12-07-2006 07:46:03 PM Hi Vance,
Thanks for the prompt reply. I changed the & to & in the
<vxml>
but get the same load error in the browser.
Deepak
Subject: RE: Running VXML insert element Replied by: null on 12-07-2006 07:48:00 PM application="/Audium/Server?audium_vxml_root=true&calling_into=TransferModuleML&namelist=element_log_var1|element_nolog_var2|session_sessvar|custom_custlog"
Subject: RE: Running VXML insert element Replied by: Vance Vagell on 17-07-2006 04:03:02 PM Hi Deepak,
Each voice browser implements the VoiceXML 2.0 specification in a slightly different way, much as different web browsers implement the HTML specification in slightly different ways. Because of this, our example VoiceXML Insert code (from the bottom of this KB article) may not work as-is on your voice browser; you may need to modify it to conform to your voice browser's expected VoiceXML format.
You can see the format used by your voice browser by requesting several pages using a web browser. For example, to request the first page of HelloWorld, you would enter the following URL in your web browser:
Compare this output against the VoiceXML you are using with your VoiceXML Insert element. If there are any structural differences, make note of them and adjust your VoiceXML as needed. An example of a common difference between voice browsers is whether they require the [b:b55edf7c3a]xmlns[/b:b55edf7c3a] attribute of the <vxml> element.
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: