Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer_guide:voicexml_references:elements:disconnect [2015/10/27 11:12] (current)
borja created
Line 1: Line 1:
 +====== < 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 =====
 +<​code>​
 +<​disconnect/>​
 +</​code>​
 +
 +===== Parents =====
 +<​code>​
 +<​block>,​ <​catch>,​ <​error>,​ <​filled>,​ <​help>,​ <if>, <​noinput>,​ <​nomatch>​
 +</​code>​
 +
 +===== Children =====
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Extensions =====
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Limitations/​Restrictions =====
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Example Code =====
 +<​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>​
 +</​code>​