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: Janine Graves on 23-01-2007 11:15:30 PM Hi,
I would like to use a vxml insert element to access the code below. I don't want to pass or receive any data at this point. I just want this code to work. When I try to invoke the code from audium, I get 'error.badfetch'
But I can access it directly from a web browser.
What am I missing in my vxml code?
Can you just modify this with the necessary info, so that I can invoke it. I'm worried about what I'd use as the name of the root document. I am finding the example in the Users Guide confusing: ⿿/CVP/Server?audium_vxml_root=true&calling_into=APP& namelist=element_log_value|RTRN1|RTRN2|⿦⿿
If I'm NOT returning any data, what would the root doc be called?
What if I WERE returning one variable called 'test' with the value '1234' then what would the name of the root doc be?
Also, if there's only one exit state, do I HAVE to return an exit state? Thanks!
Here's my code that doesn't work when invoked in a VXML Insert element:
<xml> <vxml> <form> <block> <prompt>Hello, this is the test v x m l page . . . testing 1 2 3 . . testing 1 2 3</prompt> <return> </block> </form> </vxml>
Subject: update Replied by: Janine Graves on 23-01-2007 11:18:31 PM some of the vxml attributes didn't show up when I uploaded this question. So I'll attach a txt file, so you can see the code.
Thanks, Janine
Subject: RE: update Replied by: Vance Vagell on 24-01-2007 04:11:09 PM Hi Janine,
The VoiceXML you attached does not conform to the required format for integration with an Audium voice application. That format is described in the User Guide, and also in the following Audium Knowledge Base article:
That KB article also includes a complete example of valid VoiceXML for use with a VoiceXML Insert element (scroll to the end of the article for that). An additional article that you may find helpful is:
If you have further questions after reviewing these articles please let us know.
Regards, Vance
Subject: RE: update Replied by: Janine Graves on 24-01-2007 06:09:15 PM Here's what is not clear to me from the Users Guide:
1. You have a list of return elements in the namelist. which ones are REQUIRED? Are they ALL required, even if I don't create any data, or are some required and some optional. t.
I believe the audium_exit_state, audium_hotlink, audium_hotevent, audium_error, audium_action, audium_vxmlLog are all required.
Are the others required if I'm NOT returning any information?
I recommend that you update this portion of the reference guide to say (required) and (optional) after each output
2. what about the root document name? If I'm NOT returning any data, would it be this â¿¿/Audium/Server?audium_vxml_root=true&calling_into=MyAPP& namelist=element_log_valueâ¿¿
I know this all seems very clear to you, but it's not clear to me from what I'm reading.
While trivial, is this valid??????
<xml> <vxml> <form id="testform"> <block>This is the initial prompt </block> <field> <property> <prompt>Say a number.</prompt> <filled> <assign> <return> </filled> </field> </form> </vxml>
Thanks!
Subject: RE: update Replied by: Janine Graves on 24-01-2007 06:14:50 PM sorry, I'll attach the code, again it didn't show up correctly when I typed it into this window.
Thanks, Janine
Subject: STILL NOT WORKING Replied by: Janine Graves on 24-01-2007 10:31:54 PM This is on cvp server, so here is code that I think really should work. PLEASE just tell me what's wrong with it.
I can't look at it any more!
Thanks, Janine
Subject: RE: STILL NOT WORKING Replied by: Janine Graves on 24-01-2007 10:33:02 PM sorry, this is the code. forget the previous versions.
Subject: RE: STILL NOT WORKING Replied by: Vance Vagell on 24-01-2007 10:38:43 PM Hi Janine,
You may wish to start with the example from the recommended KB article, and edit that to create your own. That said, one issue we can see in the sample you posted is that the root document reference (i.e. "application" attribute) uses "audium_root" whereas VoiceXML Insert elements are expecting "audium_vxml_root".
Hope that helps, Vance
Subject: RE: STILL NOT WORKING Replied by: Janine Graves on 25-01-2007 07:11:22 AM If I'm using CVP Studio, do I still have the app'n attribute start with '/Audium/Server?' or do I use '/CVP/Server?'
thanks.
Subject: RE: STILL NOT WORKING Replied by: Janine Graves on 25-01-2007 07:19:26 AM The sample in the "CVP Users Guide", has the application attribute start as follows. Please note that it indicates vxml version "1.0" and note the spelling within the name of the root document using 'audium_vxmlroot' which differs slightly from what is in the KB article.
Subject: RE: STILL NOT WORKING Replied by: null on 25-01-2007 01:40:23 PM Use the CVP naming conventions! Forget the Audium convention (as the guide confuses in this way).
If you want to load the cvp root document include the application reference to it but I'd try it without first and you should find a nice easy VXML subdialogue will work just fine.
Overall VXML Inserts work fine in CVP 3.1, and passing data to and back from them works fine too. After a few little issues, I got it all working.
Cheers
Subject: RE: STILL NOT WORKING Replied by: Vance Vagell on 25-01-2007 02:26:50 PM Hi Janine,
Karl's advice is good -- please refer to the User Guide for the software version you have for specifics (e.g. use /CVP/Server in part of that URL instead). That said, there is a typo in that older document; "audium_vxmlroot" should be "audium_vxml_root" as noted in our previous reply.
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: