Page 1 of 1

this keeps hitting the nomatch tag, why?

Posted: Thu Dec 16, 2010 1:29 pm
by neilstebbing
No matter what i enter it keeps raising nomatch. Shouldn't something match a number?

<?xml version="1.0" encoding="utf-8"?>
<vxml version="2.1">
<property name="inputmodes" value="dtmf"/>

<form id="AmountMenu">
<field name="Amount" type="number">
<prompt>
Enter digits of the amount to be transferred. Cents must be entered and an * will take the place of the decimal point.
</prompt>

<filled>
<prompt>
You entered an amount of
<say-as type="number" interpret-as="number">
<value expr="Amount"/>
</say-as>
.
</prompt>
</filled>

<noinput>
<prompt>
Sorry, it seems you did not press a key. Please try again.
</prompt>
<reprompt/>
</noinput>

<nomatch>
<prompt>
Sorry, I didn't understand you. Please try again.
</prompt>
<reprompt/>
</nomatch>
</field>

</form>
</vxml>

Re: this keeps hitting the nomatch tag, why?

Posted: Thu Dec 16, 2010 1:29 pm
by neilstebbing
Thu 16 Dec 2010 12:24:11 PM CST:

Call Start Event: ANII 2252058062 DNIS 9224240 VURL /usr/local/plumvp/config/director.vxml
DocumentParser::FetchDocument()
DocumentParser::FetchDocument(/usr/local/plumvp/config/director.vxml)
Attempting to fetch file:///usr/local/plumvp/config/director.vxml
Click here to view saved VoiceXML script
VXI::var_element(name="ani" expr = "session.telephone.ani")
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
VXI::var_element(name="id" expr = "session.id")
VXI::var_element(name="callee_type" expr = "session.telephone.callee_type")
VXI::var_element(name="ani" expr = "session.telephone.ani")
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
VXI::var_element(name="id" expr = "session.id")
VXI::var_element(name="callee_type" expr = "session.telephone.callee_type")
http://10.2.110.132/Ivr/AmountMenuNumberProblem.vxml
DocumentParser::FetchDocument(http://10.2.110.132/Ivr/AmountMenuNumberProblem.vxml)
Attempting to fetch http://10.2.110.132/Ivr/AmountMenuNumberProblem.vxml
Click here to view saved VoiceXML script
Loading Builtin grammar: builtin:dtmf/number
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
Enter digits of the amount to be transferred. Cents must be entered and an * will take the place of the decimal point.
</speak>
---------
VXI::field_element - activating grammars for form = 'AmountMenu' formitem = 'Amount'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Thu 16 Dec 2010 12:24:22 PM CST:

dtmf input: 12300
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
Sorry, I didn't understand you. Please try again.
</speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
Enter digits of the amount to be transferred. Cents must be entered and an * will take the place of the decimal point.
</speak>
---------
VXI::field_element - activating grammars for form = 'AmountMenu' formitem = 'Amount'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Thu 16 Dec 2010 12:24:37 PM CST:

dtmf input: 123*00
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
Sorry, I didn't understand you. Please try again.
</speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
Enter digits of the amount to be transferred. Cents must be entered and an * will take the place of the decimal point.
</speak>
---------
VXI::field_element - activating grammars for form = 'AmountMenu' formitem = 'Amount'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Thu 16 Dec 2010 12:24:44 PM CST:

dtmf input: 123
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
Sorry, I didn't understand you. Please try again.
</speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
Enter digits of the amount to be transferred. Cents must be entered and an * will take the place of the decimal point.
</speak>
---------
VXI::field_element - activating grammars for form = 'AmountMenu' formitem = 'Amount'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Thu 16 Dec 2010 12:24:48 PM CST:

received event: connection.disconnect.hangup:
VXI::exit_element()
Call End Event
Ending session
Ending Session On Channel 34

Re: this keeps hitting the nomatch tag, why?

Posted: Thu Dec 16, 2010 2:05 pm
by support
Hi,

We tested your code and found it to match the numbers we entered correctly each time. Are you able to replicate this issue? If so, what steps (i.e. input/output data) are you taking to reproduce it?

Regards,
Plum Support

Re: this keeps hitting the nomatch tag, why?

Posted: Thu Dec 16, 2010 2:23 pm
by neilstebbing
Certianly i am able to replicate it. It's the code as posted and enter any numeric digits. I posted the call log you should be able to see what i entered. Without fail it never matches

Re: this keeps hitting the nomatch tag, why?

Posted: Thu Dec 16, 2010 2:26 pm
by neilstebbing
FYI...Copied and Pasted from my previous post

dtmf input: 12300
received event: nomatch:

dtmf input: 123*00
received event: nomatch:

dtmf input: 123
received event: nomatch:

Re: this keeps hitting the nomatch tag, why?

Posted: Thu Dec 16, 2010 5:13 pm
by support
Hi,

We have continued to attempt to reproduce your issue using the exact code that you had pasted above, as well as the same inputs you sent us. In all 3 cases, the application behaved correctly. In an effort to help narrow down the problem, could you please try running the code below, to ensure that DTMF input is acting properly. Please let us know of the results.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<vxml version="2.1">
<property name="inputmodes" value="dtmf"/>
<form id="mainmenu">
  <field name="menuchoice">
    <grammar type="application/srgs+xml" root="ROOT" mode="dtmf">
      <rule id="ROOT">
        <one-of>
          <item>1</item>
          <item>2</item>
          <item>3</item>
        </one-of>
      </rule>
    </grammar>
      <prompt>
        For sales, press 1.
        For tech support, press 2.
        For company directory, press 3.
      </prompt>
      <filled>
        <if cond="menuchoice==1">
          Welcome to sales.
        <elseif cond="menuchoice==2"/>
          Welcome to tech support.
        <elseif cond="menuchoice==3"/>
          Welcome to the company directory.
        </if>
      </filled>
  </field>
</form>
</vxml>
Thanks,
Plum Support

Re: this keeps hitting the nomatch tag, why?

Posted: Fri Dec 17, 2010 1:56 pm
by neilstebbing
that works fine. it was a data type of number that was the problem though

Re: this keeps hitting the nomatch tag, why?

Posted: Fri Dec 17, 2010 2:13 pm
by neilstebbing
I changed your code slightly to re-create the problem as per below

<?xml version="1.0" encoding="utf-8"?>
<vxml version="2.1">
<property name="inputmodes" value="dtmf"/>
<form id="mainmenu">
<var name="test" />
<field name="menuchoice" type="number">
<prompt>
For sales, press 1.
For tech support, press 2.
For company directory, press 3.
</prompt>
<filled>
<if cond="menuchoice==1">
<prompt>
you hit 1 Welcome to
<say-as type="number" interpret-as="number">
<value expr="menuchoice"/>
</say-as>
.
</prompt>
<elseif cond="menuchoice==2"/>
<prompt>
you hit 2 Welcome to
<say-as type="number" interpret-as="number">
<value expr="menuchoice"/>
</say-as>
.
</prompt>
<elseif cond="menuchoice==3"/>
<prompt>
you hit 3 Welcome to
<say-as type="number" interpret-as="number">
<value expr="menuchoice"/>
</say-as>
.
</prompt>
</if>
<goto next="#mainmenu" />
</filled>
</field>
</form>
</vxml>

Re: this keeps hitting the nomatch tag, why?

Posted: Fri Dec 17, 2010 2:15 pm
by neilstebbing
Call log from the last call

Fri 17 Dec 2010 01:11:37 PM CST:

Call Start Event: ANII 2252058062 DNIS 9224240 VURL /usr/local/plumvp/config/director.vxml
DocumentParser::FetchDocument()
DocumentParser::FetchDocument(/usr/local/plumvp/config/director.vxml)
Attempting to fetch file:///usr/local/plumvp/config/director.vxml
Click here to view saved VoiceXML script
VXI::var_element(name="ani" expr = "session.telephone.ani")
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
VXI::var_element(name="id" expr = "session.id")
VXI::var_element(name="callee_type" expr = "session.telephone.callee_type")
VXI::var_element(name="ani" expr = "session.telephone.ani")
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
VXI::var_element(name="id" expr = "session.id")
VXI::var_element(name="callee_type" expr = "session.telephone.callee_type")
http://10.2.110.132/Ivr/PlumTest.vxml
DocumentParser::FetchDocument(http://10.2.110.132/Ivr/PlumTest.vxml)
Attempting to fetch http://10.2.110.132/Ivr/PlumTest.vxml
Click here to view saved VoiceXML script
Loading Builtin grammar: builtin:dtmf/number
VXI::var_element(name="test" expr = "")
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
For sales, press 1.
For tech support, press 2.
For company directory, press 3.
</speak>
---------
VXI::field_element - activating grammars for form = 'mainmenu' formitem = 'menuchoice'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Fri 17 Dec 2010 01:11:41 PM CST:

dtmf input: 1
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>Sorry, I didn't understand you. </speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
For sales, press 1.
For tech support, press 2.
For company directory, press 3.
</speak>
---------
VXI::field_element - activating grammars for form = 'mainmenu' formitem = 'menuchoice'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Fri 17 Dec 2010 01:11:47 PM CST:

dtmf input: 1
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>I still don't understand. </speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
For sales, press 1.
For tech support, press 2.
For company directory, press 3.
</speak>
---------
VXI::field_element - activating grammars for form = 'mainmenu' formitem = 'menuchoice'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Fri 17 Dec 2010 01:11:54 PM CST:

dtmf input: 1
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>Please say it one last time. </speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
For sales, press 1.
For tech support, press 2.
For company directory, press 3.
</speak>
---------
VXI::field_element - activating grammars for form = 'mainmenu' formitem = 'menuchoice'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Fri 17 Dec 2010 01:11:59 PM CST:

dtmf input: 2
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>I'm sorry. I just can't understand your response.</speak>
---------
VXI::exit_element()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played


Fri 17 Dec 2010 01:12:03 PM CST:

Call End Event
Ending session
Ending Session On Channel

Re: this keeps hitting the nomatch tag, why?

Posted: Fri Dec 17, 2010 2:19 pm
by neilstebbing
Is it possible that the IVR hardware has been configured improperly? Could it be IIS where the vxml is hosted needs some configuration to have the number data type work correctly?

I'm just throwing things out there because i am completely stumped.

Re: this keeps hitting the nomatch tag, why?

Posted: Fri Dec 17, 2010 2:57 pm
by support
Hi Neil,

Regarding this DTMF problem, we believe this issue is related to your IVR server.

Could you please send an e-mail to support@plumgroup.com to further address this issue? Also, please remember to include your 8-digit customer ID in the subject line to ensure that your ticket doesn't get bounced by our ticketing system. You can find the 8-digit customer ID in your support contract with Plum.

Regards,
Plum Support