We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Why is the speech recognition in my application slow?

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

interactivedigital
Posts: 13
Joined: Thu Nov 06, 2003 11:24 am

Post by interactivedigital »

Making progress..now I get

error no_ani 0 [13/Dec/2004:10:14:00 -0500] 3627 000001;000;1102950829 DocumentParser::FetchDocument - Parse error in file "http://www.voicexl.com/VoiceXLPlumPortals.vxml", line 4, column 4 - No character data is allowed by content model
error no_ani 0 [13/Dec/2004:10:14:00 -0500] 3627 000001;000;1102950829 errno: 205 uri http://www.voicexl.com/VoiceXLPlumPortals.vxml


Here's my initial code

<?xml version="1.0" ?>
<vxml version="2.0">
<form>
  <block>
    <goto next="http://www.voicexl.com/VoiceXLPlumPortals.vxml" maxage="0"/>
    <goto next="http://www.voicexl.com/VoiceXLPlumPortals.js" maxage="0"/>
  </block>
</form>

<!--
Retail Checking/Savings demo for VoiceXL
Copyright (c) 2004 Interactive Digital, Inc. All Rights Reserved.
Confidential to Interactive Digital - Do not distribute.
The VoiceXL Process is patented. U.S. Patent No. 5, 493, 608
-->

<property name="incompletetimeout" value="1s"/>

<link event="help">
<grammar type="application/x-jsgf" mode="voice"> help </grammar>
<grammar type="application/x-jsgf" mode="dtmf"> 0 </grammar>
</link>

<script src="http://www.voicexl.com/VoiceXLPlumPortals.js"/>
<var name="account_number" />

<form id="prompt_account_number">
<block>
<script> vl_init(3, 0) </script> <!-- initialize VoiceXL -->
<audio expr="'http://www.voicexl.com/audio/' + vl_play('WelcomeTo.wav')"/> <!-- <audio> tag processing for VoiceXL -->
<audio expr="'http://www.voicexl.com/audio/' + vl_play('ToLearn.wav')"/>
</block>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

issue due to extra characters in IVR form

Post by support »

Looking at the VoiceXML returned by that link (http://www.voicexl.com/VoiceXLPlumPortals.vxml) there appears to be some extra characters in your initial IVR form:

Code: Select all

<?xml version="1.0" ?>
<vxml version="2.0">
 <form> 
 Â  <block> 
 Â  Â  <goto next="http://www.voicexl.com/VoiceXLPlumPortals.vxml" maxage="0"/> 
 Â  Â  <goto next="http://www.voicexl.com/VoiceXLPlumPortals.js" maxage="0"/> 
 Â  </block> 
 </form> 
You may want to retype this form by hand. If it is not showing up in your web browser you may want to try a different one.

Hope this helps

Plum Support
Last edited by support on Wed Jan 06, 2010 12:04 pm, edited 1 time in total.

interactivedigital
Posts: 13
Joined: Thu Nov 06, 2003 11:24 am

Post by interactivedigital »

OK - I retyped by hand and do not see any extra characters.
Can you look? I still get content errors

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

issue due to IVR platform is still fetching doc from cache

Post by support »

You do not appear to have disabled caching, you have added a <block> at the beginning of your VoiceXML script that would clear the cache if it were in its own document or a scratchpad prior to this fetch, but instead the Plum IVR platform is still fetching this document (for it's initial fetch) from the cache. I have cleared the cache using my own scratchpad, but you now have the problem that the block at the beginning of your document creates an infinite loop (essentially going to itself over and over again).

To resolve these IVR issues, you need to first remove the initial form from that VoiceXML document, and from the Plum IVR Hosting interface create a new scratchpad that contains that form. Save the scratchpad and set the DNIS of your account to that scratchpad and then call back into the IVR system.

Hope This Helps

Plum Support
Last edited by support on Thu Feb 25, 2010 3:58 pm, edited 3 times in total.

interactivedigital
Posts: 13
Joined: Thu Nov 06, 2003 11:24 am

Post by interactivedigital »

That helped, thanks.

Can you tell me the preferred audio format for the Plum Platform?

wav/vox, 8khz etc ?

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

preferred audio format for the Plum IVR Platform

Post by support »

8Khz 16-bit linear mono PCM is the preferred audio format for the Plum IVR Platform.



More details here: http://support.plumvoice.com/viewtopic.php?t=3

Post Reply