Menu Choice DTMF does not work

From DocWiki

Revision as of 18:29, 18 December 2009 by Docwikibot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Menu Choice DTMF does not work

Problem Summary An error.badfetch is thrown when using the menu element of Voice XML 2.0 with the DTMF attribute set to True.
Error Message error.badfetch.
Possible Cause When the menu element is set to true; that is, <menu dtmf="true">, then in the choice element, DTMF values can only be *,#, or 0. For example, the following VXML code is not allowed:

<menu id="aa" dtmf="true">

<prompt> Welcome to the automated attendant. To enter the phone number of the person you are trying to reach, press 1. To enter the name of the person you are trying to reach, press 2. To transfer to the operator, press 0. </prompt>

<choice dtmf="1" next="#dial_by_extn">1</choice>

<choice dtmf="2" next="#dial_by_name">2</choice>

<choice detm="0" next="#operator">0,/choice> </menu>

Recommended Action

Use an example like the following, which is allowed:

<menu id="aa" dtmf="true"> <prompt> Welcome to the automated attendant. To enter the phone number of the person you are trying to reach, press 1. To enter the name of the person you are trying to reach, press 2. To transfer to the operator, press 0.</prompt>

<choice next="#dial_by_extn">1</choice>

<choice next="#dial_by_name">2</choice>

<choice dtmf="0" next="#operator">0 </choice> </menu>

Release Release 7.0(1)
Associated CDETS # None.

Rating: 5.0/5 (1 vote cast)

Personal tools