cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1821
Views
0
Helpful
2
Replies

Can UCCX use VXML file?

Quigath
Spotlight
Spotlight

I have a VXML file hosted as a plain file on IIS. The file contains the VXML that I want UCCX to fetch and then send to the VVB for interpretation.

 

Which step element in CCX Editor do I use to send VXML to the VVB? Is this even possible?

Maybe it's multiple steps? I'm a UCCX newbie.

 

I have tried three different UCCX steps:

  1. URL[http://10.10.20.14/playmusic/test.vxml] -> com.cisco.doc.impl.UserFileURLDocument cannot be cast to com.cisco.doc.util.URLDocumentImpl
  2. DOC[http://10.10.20.14/playmusic/test.vxml] -> com.cisco.doc.impl.UserFileURLDocument cannot be cast to com.cisco.doc.util.URLDocumentImpl
  3. FILE[http://10.10.20.14/playmusic/test.vxml] -> com.cisco.doc.util.FileDocumentImpl cannot be cast to com.cisco.doc.util.URLDocumentImpl
2 Replies 2

Quigath
Spotlight
Spotlight

I was able to solve this myself. The problem is that the Cisco sandbox installation for 11.6 has some bugs that need to be worked around.

In CCX Editor, the steps are laid out succinctly in the reference doc. Search under "Creating a Script that Runs a VoiceXML Document".

 

The referenced vxml doc needs special treatment to work however. Here's mine:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE vxml SYSTEM "voicexml.dtd">
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
	<form id="say_hello">
		<block>
			<audio src="http://10.10.20.14/playmusic/question_text_67.wav"></audio>
			<goto next="#say_goodbye" />
		</block>
	</form>
	<form id="say_goodbye">
		<block>
			<prompt>goodbye</prompt>
		</block>
	</form>
</vxml>

I'm no vxml expert so all of this was new to me.

  1. <!DOCTYPE vxml SYSTEM "voicexml.dtd"> - has to add this line with the 'vxml' param to match my root doc name, also I had to manually create the dtd file from the w3.org spec or it couldn't validate my xml, web references to the dtd didn't work in the sandbox
  2. <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0"> - must be 2.0 version
  3. <audio src="http://10.10.20.14/playmusic/question_text_67.wav"> - audio speech works great
  4. <prompt>goodbye</prompt> - the voice browser was unable to TTS any prompts; its exception was "NoTextPrompt: Error converting TTSPrompt to DOM, this prompt cannot be handled by this provider.", this is still unsolved for me and I may contact TAC about it as I need TTS

bsakizli
Level 1
Level 1

Hello, I can make voiceovers using vxml with Create URL Document, but I am having trouble reading the vxml output returned by the rest api on the voice browser side. How can I read the vxml output in String or DOC format. Not via link but local output?