CallXML 2.0 Development GuideHome  |  Frameset Home

This documentation is for CallXML 2, which has been superceded by CallXML 3. The CallXML 2 language is not being updated any longer. CallXML 3, however, has many new features and is actively being enhanced. If you're writing a new CallXML application, you should use CallXML 3. Click here for the CallXML 3.0 documentation.
<exit>  element

The <exit> element allows the developer to exit the session in question when it is executed in the callXML application. In short, it is much like an 'emergency brake' for a CallXML application. Note that in the event that an <exit> element is hit prior to a particular event handler executing, the <exit> will take precedence.


usage
<exit />


attributes
none


possible events
none


code samples
<exit sample>
<?xml version="1.0" encoding="UTF-8"?>

<callxml version="2.0">
  <block label="B_1">
    <text>
    Are we ready to exit? Lets get out of this dive!
    </text>

    <exit/>

    <text>
    Thats right, this text will never,
    ever be read out to our callers.   
    </text>

  </block>

</callxml>




additional links
none


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

login



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