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

Collect digits with bargein errors to noinput

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
michael
Posts: 4
Joined: Fri Jul 13, 2018 11:03 am

Collect digits with bargein errors to noinput

Post by michael »

I'm having an issue with an existing feature when collecting a digit from user using the builtin:grammar/digits?.
I put the below vxml into a scratchpad and verified the problem occurs when calling the scratchpad as well.

Code: Select all

<?xml version="1.0"?>
  <vxml version="2.1">
  <catch event="connection.disconnect.hangup error.disconnect.hangup">
    <exit/>
  </catch>

  <catch event="nomatch" count="1">
    <prompt> this is the first nomatch error </prompt>
    <reprompt/>
  </catch>
  <catch event="nomatch" count="2">
    <prompt> this is the second nomatch error </prompt>
    <reprompt/>
  </catch>
  <catch event="nomatch" count="3">
    <prompt> this is the last nomatch error </prompt>
  </catch>
  <catch event="noinput" count="1">
    <prompt> this is the first noinput error </prompt>
    <reprompt/>
  </catch>
  <catch event="noinput" count="2">
    <prompt> this is the second noinput error </prompt>
    <reprompt/>
  </catch>
  <catch event="noinput" count="3">
    <prompt> this is the last noinput error </prompt>
  </catch>
  <form id="app_builder_main_form_id">
  <property name="interdigittimeout" value="5s"/>
    <field type="digits?length=1" name="bccdcfaffe">
    <prompt bargein="true">
      You can press 1 for yes or say yes. Or press 2 for no or say no.
    </prompt>
      <filled>
          <prompt>Great you entered <value expr="bccdcfaffe.tagged || bccdcfaffe" /></prompt>
      </filled>
    </field>
  </form>
</vxml>

The problem: If I wait until the content finishes and press 1 or 2 sometimes it is interpreted as a noinput event. When this does happen then bargein no longer works for the prompt and it doesn't matter what I press. Everything afterwards is a noinput event.

It seems like timeout is set to zero but the default for our app is 5s. I changed the timeout to 10s to see if that made a difference. The call waited the 10s even though I pressed keys(multiple times) and then it was still noinput.

Any ideas on what the issue could be?
Thanks!

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

Re: Collect digits with bargein errors to noinput

Post by support »

Hi Michael,

Thank you for bringing this to our attention! Your thorough examples and descriptions are very helpful. Our engineers are looking into this issue, and we will update you once we have more information.

Regards,
Plum Support

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

Re: Collect digits with bargein errors to noinput

Post by support »

Hi Michael,

So far we have been unable to recreate this behavior.
Could you please specify exactly when you are attempting to press either 1 or 2?
Also, can you specify what type of phone and carrier you are making this call from?
This information will help us greatly in our investigation.

Regards,
Plum Support

michael
Posts: 4
Joined: Fri Jul 13, 2018 11:03 am

Re: Collect digits with bargein errors to noinput

Post by michael »

I press 1 or 2 immediately after the content tts has finished playing.
I'm on Google Fi with a Motorola MotoG6 Android v. 8.0.0. I've used this phone/carrier for a year now when making calls and haven't noticed this behavior before.

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

Re: Collect digits with bargein errors to noinput

Post by support »

Hi Michael,

Thank you for providing that information.
However, we still have not been able to recreate this issue with the same code on our side. We also placed three calls to your scratchpad, and that worked as expected with no issue.
Could you please retest and let us know if you still encounter the same problem? Any additional example will be helpful.

Regards,
Plum Support

Post Reply