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

Error accepting input values from the caller.

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
awaneeshp
Posts: 29
Joined: Fri Nov 17, 2006 1:48 am

Error accepting input values from the caller.

Post by awaneeshp »

Hi,

I have a case where in i need to get the some user input as digits to here different prompts. But in case if you enetr other than whats not mentioned in the VXML then the call gets hanged. Please let me know how to get rid of this issue. The VXML is as follows.

Code: Select all

<form id="menuresult">
    <block>
      <prompt>
        <voice name="crystal">
          <break size="medium" />Your next payment of <say-as type="currency">$50</say-as>  is scheduled for 12/18/2006
        </voice>
      </prompt>
    </block>
    <field name="myfield" type="digits?length=1">
      <prompt>
        <voice name="crystal">
          <break size="medium" />Press or Say one to hear this again<break size="medium" />Press or Say 2 to go to the Previous Menu.<break size="medium" />Press or Say Star to go to the Main Menu
        </voice>
      </prompt>
      <grammar>1|2|"*"|"star"</grammar>
      <filled>
        <if cond="myfield=='1'">
          <goto next="#menuresult" />
          <elseif cond="myfield=='2'" />
          <goto next="#submenu" />
          <elseif cond="myfield=='star'" />
          <goto next="#mainmenu" />
          <elseif cond="myfield=='*'" />
          <goto next="#mainmenu" />
        </if>
      </filled>
    </field>
  </form>
In the above VXML if we enter other than 1,2,* like 3 or 4 then the call gets hanged becuase the VXML never finds the 3,4.

Please let us know how to handle this situation.

Thanks,
-Awaneesh

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

IVR grammar issue

Post by support »

That's because you specify the <field> type to be "digits?length=1" while simultaneously specifying an IVR grammar that looks for "1|2|*". BOTH IVR grammars will be active. If you don't want other digits (like 3, 4, 5, 6, 7, 8, 9, or 0) to fill the field, you should not specify a field type of "digits".

Post Reply