Menu Element and nomatch event when dialling multiple digits
Posted: Wed Feb 22, 2012 11:38 am
Hello,
While testing the menu element, i received a nomatch event which was not expected.
Please note the wav file can not be bargeined.
I dialled many 5 DTMF, quickly, and i found myself having a nomatch event.
I imagined the first DTMF 5 will be recognised, but it is not the case.
I tested the same test with a bargineable prompt and have the same behavior.
Is this a known issue of the menu element?
Did i misused the menu element?
Kind regards,
Raphaël
Here is an extract of the Voice XML page for that menu:
Here is an extract of the call log for the call:
While testing the menu element, i received a nomatch event which was not expected.
Please note the wav file can not be bargeined.
I dialled many 5 DTMF, quickly, and i found myself having a nomatch event.
I imagined the first DTMF 5 will be recognised, but it is not the case.
I tested the same test with a bargineable prompt and have the same behavior.
Is this a known issue of the menu element?
Did i misused the menu element?
Kind regards,
Raphaël
Here is an extract of the Voice XML page for that menu:
Code: Select all
<menu id="main">
<prompt bargein="false">
<audio src="../../audio/dtmfmenu_dial.wav"/>
</prompt>
<choice dtmf="0" next="#choice_0"/>
<choice dtmf="1" next="#choice_1"/>
<choice dtmf="2" next="#choice_2"/>
<choice dtmf="3" next="#choice_3"/>
<choice dtmf="4" next="#choice_4"/>
<choice dtmf="5" next="#choice_5"/>
<choice dtmf="6" next="#choice_6"/>
<choice dtmf="7" next="#choice_7"/>
<choice dtmf="8" next="#choice_8"/>
<choice dtmf="9" next="#choice_9"/>
<choice dtmf="*" next="#choice_star"/>
<choice dtmf="#" next="#choice_sharp"/>
<noinput>
<goto next="#noinput"/>
</noinput>
<nomatch>
<goto next="#nomatch"/>
</nomatch>
</menu>
Code: Select all
GrammarManager::CreateGrammarFromString(application/srgs+xml):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-us" type="application/srgs+xml" root="CHOICE" mode="dtmf">
<rule id="CHOICE">
<item>0</item>
</rule>
</grammar>
---------
[Cut all the sample grammars]
---------
VXI::queue_prompts()
bargein set to false
INPUTMODES set to "DTMF"
Cache Hit: http://[MY_SERVER]/audio/dtmfmenu_dial.wav
Audio segment from the URL ../../audio/dtmfmenu_dial.wav added to prompt queue
starting playback: bargein=false, inputmodes="dtmf"
Newly queued prompts are now being played
VXI::do_recognition()
PromptManager::Play()
Wed 22 Feb 2012 11:15:58 AM EST:
dtmf input: 555555555555555555
received event: nomatch: