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

throw does not cause count to increment for nomatch event

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
AjayExpresso
Posts: 3
Joined: Mon Oct 22, 2018 11:51 am

throw does not cause count to increment for nomatch event

Post by AjayExpresso »

Hello,

I have the following catch handlers defined in the root document for my application:

<catch event="nomatch">
<prompt>
<prosody rate="medium" volume="100">
Sorry, your selection was not a valid entry. Please try again.
</prosody>
</prompt>
<reprompt/>
</catch>
<catch event="nomatch" count="3">
<submit namelist="dnis ani session_id " next="/transfer/maxinvalid" method="get"/>
</catch>

These have been working fine in general.

Now I have a scenario where a form implements validation logic for one of the inputs and uses <throw event='nomatch'> if required. I see first root handler getting invoked, but not the second one (count=3), in spite of repeated consecutive throws. Is there a trick to getting this to work?

Thanks,

Ajay

admin
Site Admin
Posts: 35
Joined: Thu May 29, 2003 3:12 pm

Re: throw does not cause count to increment for nomatch even

Post by admin »

Hi Ajay,
We'd be happy to look into this for you.

If possible, please include the entire root document. This will provide context for our troubleshooting.

The third catch submits data to a web service. Are you sure you're getting a return value from that service? For debugging, I would suggest adding a simple <prompt> before the <submit> as an audio indicator whether or not the event is handled.

Post Reply