
<!-- comments in case the database connection fails here (PHP writes HTML)
<br />
<b>Warning</b>:  mysql_connect(): Access denied for user: 'mysqlf02bh@cseweb.ucsd.edu' (Using password: YES) in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>7</b><br />
<br />
<b>Warning</b>:  mysql_select_db(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>8</b><br />
<br />
<b>Warning</b>:  mysql_select_db(): A link to the server could not be established in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>8</b><br />
-->

<vxml version="2.0">

<form id="welcome">
 <block>

  <audio>Sorry. The C.S.E. 134A telephone information system is down.</audio>
  <audio>I cannot connect to the database.</audio>
  <exit/>

 </block>
</form>

<form id="choose_item">
 <field name="item">

  <grammar>
   <![CDATA[[
    [dtmf-1 deadlines] {<item "deadlines">}
    [dtmf-2 exams] {<item "exams">}
    [dtmf-3 (office hours)] {<item "office_hours">}
    [stop (o k)] {<item "choose_item">}
    [quit exit good-bye bye] {<item "quit">}
   ]]]>
  </grammar>

  <prompt>
   <audio>Please say:</audio>
   <audio>deadlines, exams, or office hours.</audio>
   <break time="600"/>
  </prompt>

  <filled>
   <goto expr="'#' + item"/>
  </filled>

  <nomatch>
   <audio>No cumprenday.</audio>
   <reprompt/>
  </nomatch>

  <noinput>
   <audio>Yo. Speak Up.</audio>
   <reprompt/>
  </noinput>

 </field>
</form>

<form id="quit">

 <block>
  <audio>Thank you for using the C.S.E. 134A telephone information system.</audio>
  <audio>Good-bye.</audio>
  <exit/>
 </block>

</form>

<form id="deadlines">

 <block>
  <audio>Okay, deadlines.</audio>

<br />
<b>Warning</b>:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>95</b><br />
<br />
<b>Warning</b>:  mysql_query(): A link to the server could not be established in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>95</b><br />
<br />
<b>Warning</b>:  mysql_fetch_row(): supplied argument is not a valid MySQL result resource in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>96</b><br />
<br />
<b>Warning</b>:  mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>101</b><br />

  <audio>There are no more upcoming deadlines in the database.</audio>
  <break time="600"/>

  <goto next="#choose_item"/>
 </block>

</form>

<form id="exams">

 <block>
  <audio>Okay, exams.</audio>

<br />
<b>Warning</b>:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>125</b><br />
<br />
<b>Warning</b>:  mysql_query(): A link to the server could not be established in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>125</b><br />
<br />
<b>Warning</b>:  mysql_fetch_row(): supplied argument is not a valid MySQL result resource in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>126</b><br />
<br />
<b>Warning</b>:  mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>132</b><br />

  <audio>There are no more upcoming exams in the database.</audio>
  <break time="600"/>

  <goto next="#choose_item"/>
 </block>

</form>

<form id="office_hours">

 <block>
  <audio>Okay, office hours.</audio>
  <audio>Office hours are held in A.P.&amp;M. 3349A.</audio>
  <audio>Say "stop" when you've heard enough.</audio>

<br />
<b>Warning</b>:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>161</b><br />
<br />
<b>Warning</b>:  mysql_query(): A link to the server could not be established in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>161</b><br />
<br />
<b>Warning</b>:  mysql_fetch_row(): supplied argument is not a valid MySQL result resource in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>162</b><br />
<br />
<b>Warning</b>:  mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/cse/htusers/ddahlstr/cse134a/classinfo.php</b> on line <b>168</b><br />

  <audio>There are no more upcoming office hours in the database.</audio>
  <break time="600"/>

  <goto next="#choose_item"/>
 </block>

</form>

</vxml>
