[Voiceglue] Invalid input mode "dtmf voice"
Alex Zach
alex_krems at hotmail.com
Sat Mar 28 02:47:58 EDT 2009
I found following bug:
"Invalid input modes "dtmf voice", must be dtmf
But: I have mode="dtmf" ....
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1" >
<form id="guessNumber">
<field name="guess">
<grammar mode="dtmf">
<![CDATA[[
[dtmf-1 dtmf-2 dtmf-3 dtmf-4 dtmf-5 dtmf-6 dtmf-6 dtmf-7 dtmf-8 dtmf-9 dtmf-0]
]]]>
</grammar>
<prompt>
Guess what the computer is thinking! Pick a number between 0 and 9.
</prompt>
<noinput>
<prompt>
I did not hear you. Please try again.
</prompt>
<reprompt/>
</noinput>
<nomatch>
<prompt>
Is that a number? Please try again.
</prompt>
<reprompt/>
</nomatch>
</field>
<filled namelist="guess" mode="all">
<prompt>
You said <value expr="guess" />. Your brain is enormous.
</prompt>
<goto next="#playAgain" />
</filled>
</form>
<form id="playAgain">
<field name="confirm" slot="confirm">
<grammar mode="dtmf">
<![CDATA[[
[dtmf-1] { <confirm "yes"> }
[dtmf-2] { <confirm "no"> }
]]]>
</grammar>
<prompt bargein="false">
Do you want to play again?
</prompt>
</field>
<filled namelist="confirm" mode="all">
<if cond="confirm == 'yes'">
<goto next="#guessNumber" />
<elseif cond="confirm == 'no'" />
<prompt>
Thank you! Goodbye!
</prompt>
</if>
</filled>
</form>
</vxml>
_________________________________________________________________
Hol dir 30 kostenlose Emoticons für deinen Windows Live Messenger
http://www.livemessenger-emoticons.com/funfamily/de-at/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.voiceglue.org/pipermail/voiceglue/attachments/20090328/47eac9a0/attachment.html
More information about the Voiceglue
mailing list