throw does not cause count to increment for nomatch event

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

  • Author
  • Message
Offline

AjayExpresso

  • Posts: 3
  • Joined: Mon Oct 22, 2018 11:51 am

throw does not cause count to increment for nomatch event

PostTue Aug 06, 2019 2:30 pm

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
Offline

admin

Site Admin

  • Posts: 35
  • Joined: Thu May 29, 2003 3:12 pm

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

PostThu Aug 08, 2019 10:05 am

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.

Return to Plum DEV Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron