<?xml version="1.0" encoding="UTF-8"?>
<!-- @ Copyright 1998-2003 W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/. @ -->
<vxml version="2.0" application="607-appRoot.vxml" xmlns="http://www.w3.org/2001/vxml" xmlns:conf="http://www.w3.org/2002/vxml-conformance">
  <catch>
    <conf:fail expr="'catch-all caught ' + _event"/>
  </catch>
  <form>
    <var name="startTime" expr="new Date ( )"/>
    <catch event="error.badfetch">
      <var name="elapsed" expr="( new Date ( ) ) - startTime"/>
      <if cond="(elapsed &gt; 29000) &amp;&amp; (elapsed &lt; 31000)">
        <conf:fail reason="Loading document failed for timeout elapsed"/>
      <else/>
        <conf:fail reason="Loading document failed not for timeout elapsed"/>
      </if>
    </catch>
    <block>
      <assign name="beforeLoadingTime" expr="new Date ( )"/>
      <goto next="cgi-bin/607-sleep10sec.ircgi" fetchaudio="Spring-Vivaldi.wav" fetchtimeout="30s"/>
    </block>
  </form>
</vxml>
