VoiceXML 2.1 Development GuideHome  |  Frameset Home

  Document Type Definitions  |  TOC  |  Fetchhint Settings  

Menu DTMF Modifications

Some of the older, non-compliant VoiceXML browsers available today will allow us to get away with the following dtmf assignations when using the <menu dtmf="true"> and <choice dtmf="[VALUE]"> elements in conjunction with each other:


  <menu id="menu" dtmf="true">
    <choice next="Choice_Target1.xml" dtmf="1">


Note that this is entirely redundant, as applying a value of 'true' to the dtmf attribute will implicitly assign any nested <choice> elements a dtmf key as a valid choice:


  <menu id="menu" dtmf="true">
    <choice next="Choice_Target1.xml">
    <!-- assigned a value of dtmf-1 -->
 
    <choice next="Choice_Target2.xml">
    <!-- assigned a value of dtmf-2 -->

    <choice next="Choice_Target3.xml">
    <!-- assigned a value of dtmf-3 -->



An important caveat to remember is that on the Prophecy VoiceXML browser, the method for assigning dtmf menu choices has been modified to reflect the changes to the W3C specification. If the menu’s dtmf attribute has been set to ‘true’, and any choices within the menu have explicitly specified dtmf values, then a fatal error.badfetch will be thrown.




  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login
  Document Type Definitions  |  TOC  |  Fetchhint Settings  

© 2008 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site