< exit >

The < exit > element exits the interpreter session and returns control to the interpreter context, which determines what to do next. This element differs from the < return > element in that < exit > terminates all loaded elements while < return > returns from a < subdialog > invocation.

namelist="item1 item2 item3..."/>
exprThe expr attribute is the expression to be evaluated and returned. This attribute is optional and the value is sent to the call control.
namelistThe namelist attribute indicates variable names to be returned to interpreter context, and returns nothing by default. This attribute is optional.
<block>, <catch>, <error>, <filled>, <help>, <if>, <noinput>, <nomatch>
<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
  <prompt>An error has occurred.</prompt>
  <exit expr="'ERROR'"/>
   <audio expr="directory+'badaudio.wav'"/>