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

Menu Element and nomatch event when dialling multiple digits

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
rpieroni@dexem.com
Posts: 3
Joined: Wed Feb 22, 2012 11:24 am

Menu Element and nomatch event when dialling multiple digits

Post by rpieroni@dexem.com »

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:

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>
Here is an extract of the call log for the call:

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: 

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

Re: Menu Element and nomatch event when dialling multiple di

Post by support »

Hi Raphael,

From how you've set up your <menu> block of code with those <choices>, the IVR system expects an input that's either 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, *, or #. So, entering an input of 555555555555555555 should return an expected event of nomatch (note within your call log that the DTMF input registered by the IVR was "555555555555555555").

Regards,
Plum Support

rpieroni@dexem.com
Posts: 3
Joined: Wed Feb 22, 2012 11:24 am

Re: Menu Element and nomatch event when dialling multiple di

Post by rpieroni@dexem.com »

Hello,

Thanks for your answer.

But as far as i understand the D.1 Appendix of the VoiceXML 2.0 (http://www.w3.org/TR/voicexml20/#dmlATiming), the first 5 should have been understood as a match in the menu and the remaining 5s should have been given to the next element waiting for a user utterance, especially the "termchar Empty When Grammar Must Terminate" part of the Appendix.

Did i misunderstood?

Kind Regards

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

Re: Menu Element and nomatch event when dialling multiple di

Post by support »

Hi Raphael,

Regarding the timing of your application, please note that there is a default interdigittimeout value of 1 second and that there is a termmaxdigits attribute that you must enable for the behavior, "termchar Empty When Grammar Must Terminate", to occur.

Regards,
Plum Support

rpieroni@dexem.com
Posts: 3
Joined: Wed Feb 22, 2012 11:24 am

Re: Menu Element and nomatch event when dialling multiple di

Post by rpieroni@dexem.com »

Hi,

Many thanks for your answer.

Kind Regards,

Raphaël

Post Reply