Collect digits with bargein errors to noinput

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

  • Author
  • Message
Offline

michael

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

Collect digits with bargein errors to noinput

PostThu Apr 18, 2019 2:32 pm

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!
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Collect digits with bargein errors to noinput

PostThu Apr 18, 2019 3:48 pm

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
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Collect digits with bargein errors to noinput

PostFri Apr 19, 2019 9:04 am

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
Offline

michael

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

Re: Collect digits with bargein errors to noinput

PostFri Apr 19, 2019 10:15 am

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.
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Collect digits with bargein errors to noinput

PostFri Apr 19, 2019 12:44 pm

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

Return to Plum DEV Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron