cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
220
Views
0
Helpful
1
Replies
Enthusiast

Can UCCX use VXML file?

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
1 REPLY 1
Enthusiast

Re: Can UCCX use VXML file?

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
CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards