03-20-2012 12:45 PM - edited 03-14-2019 09:34 AM
Hi,
Today I looked at the crtp in the cisco documents and tried a simple example. But that was unsuccessful.
Can somebody tell where I went wrong ?
steps:
1) vxmlFile = "crtp:/Documents/sample.vxml"
2) sampleURLDoc = create xml doc (vxmlFile)
3) sampleURLDoc = cacheDoc(sampleURLDoc)
4) myNumber = voice browser(--Trigger.Contact--,sampleURLDoc)
At step I get the error cachedDocument cannot be cast to URLDocument.
I tried this in UCCX 8.5
Appreciate your help.
Thanks
Ram
03-21-2012 08:08 AM
At step 4 I am getting the error cachedDocument cannot be cast to URLDocument.
Does anyone know how to use crtp to ready vxml document for voice browser element.
Or is there any better way to read the vxml documents from document repository in UCCX 8.5 environment?
Thanks
Ram
03-28-2012 07:30 AM
Hi,
the error message is clear, the expected parameter should be of type 'URLDocument' - not Document.
Try using the URL (pointing to that VXML) instead.
G.
Sent from Cisco Technical Support iPad App
03-28-2012 07:56 AM
great! That helped. Thanks Gergely Szabo.
I ran into another issue I am referencing grxml files in the vxml document.
Now I am getting
Voice Browser exit with error: nested exception is:
com.cisco.voicebrowser.VBExecutionException: Fatal Error; nested exception is:
com.cisco.dialogservices.UnsupportedGrammarException: Grammar type not supported
google tells this link
http://docwiki.cisco.com/wiki/UnsupportedGrammarException_with_Cisco_Media_i.e_Default_Dialog_group
And here is my CMT configuration -
Do we have any solution for this? I want to use grxml files.
uccx version 8.5.1.11002-22
Thanks for you help.
03-28-2012 08:08 AM
Hi,
can you please post the VXML file? Obviously, the Voice Browser step believes it's incorrect.
Thanks.
G.
03-28-2012 01:26 PM
Hi,
Vxml is ---
and this is the grxml ---
xml:lang="es-US"
xmlns="http://www.w3.org/2001/06/grammar"
tag-format="swi-semantics/1.0"
root="S_2" mode="dtmf">
Thank you
Ram
03-29-2012 03:29 AM
Hi,
I tried it in my lab - well, it does not work.
But actually, what are you trying to achieve? Read in some DTMF tones using VXML?
G.
03-29-2012 03:52 AM
Hi Gergely Szabo,
One of our clients upgraded from uccx 4.x to uccx 8.5. The scripts in uccx 4.x uses voice browser elements
and the vxml code uses grxml files.
From the grxml files we will be reading series of DTMF tones.
Thank you.
Ram
03-29-2012 04:15 AM
So actually can't you just use
builtin:dtmf/digits
as grammar type?
?
03-29-2012 05:33 AM
If grxml doesn't work then we will have to go with builtin:dtmf/digits.
Thank you Gergely Szabo.
Appreciate your help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide