<?xml version="1.0"?>
<!-- @ Copyright 1998-2003 W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/. @ -->
<vxml version="2.0"
  xmlns="http://www.w3.org/2001/vxml"
  xmlns:conf="http://www.w3.org/2002/vxml-conformance">

 <catch>
  <conf:fail expr="'document caught event ' + _event"/>
 </catch>

 <!-- The caller will be able to barge in during the first three -->
 <!-- prompts, but if they don't by then, the fourth and fifth   -->
 <!-- can't be barged into.                                      -->

 <form id="dorothy">

  <field name="tinman">

   <prompt bargein="true">
    One. Say Chicago now.
   </prompt>

   <prompt bargein="true">
    Two. Waiting.
   </prompt>

   <prompt bargein="true">
    Three. Time's up.
   </prompt>

   <prompt bargein="false">
    Four. Can't barge in.
   </prompt>

   <prompt bargein="false">
    Five. Can't barge in.
   </prompt>

   <conf:grammar utterance="alpha"/>

   <filled>

    <conf:comment>
     If you were able to barge in during the first three prompts, but not the fourth and
     fifth.  If you did barge in during the first three, then you should not have heard
     the last two.
    </conf:comment>

    <!-- For lack of a better thing to do..  Fail, so someone will check things manually -->
    <conf:fail reason="see the comments to determine whether this test really passed"/>

   </filled>

  </field>

 </form>

</vxml>


