Table of Contents

< disconnect >

Description

This element disconnects the user’s phone call. As a result, the interpreter context will throw the telephone.disconnect.hangup event. A < disconnect > differs from an <exit> in that it forces the interpreter context to drop the call.

Syntax

<disconnect/>

Parents

<block>, <catch>, <error>, <filled>, <help>, <if>, <noinput>, <nomatch>

Children

None.

Extensions

None.

Limitations/Restrictions

None.

Example Code

<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
 <form>
  <block>
   <prompt>Hello and goodbye!</prompt>
   <disconnect />
  </block>
 </form>
</vxml>