cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

978
Views
3
Helpful
9
Replies
ram
Beginner
Beginner

Use of crtp to read vxml documents in document repository

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

9 REPLIES 9
ram
Beginner
Beginner

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

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

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.  

Hi,

can you please post the VXML file? Obviously, the Voice Browser step believes it's incorrect.

Thanks.

G.

Hi,

Vxml is ---

http://www.w3.org/2001/vxml" version="2.0">

   

   

   

       

       

          

       

           

           

            

       

           

       

   

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">

 

   

      1tag = 'one'

     

       2tag = 'two'

     

   

 

Thank you

Ram

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.

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

So actually can't you just use

builtin:dtmf/digits

as grammar type?

?

If grxml doesn't work then we will have to go with builtin:dtmf/digits.

Thank you Gergely Szabo.

Appreciate your help.

Create
Recognize Your Peers
Content for Community-Ad