Disconnecting a telephone call

To disconnect a telephone call, your CCXML document must use a <disconnect> element within a <transition> element.

For example, within a connection.connected transition:
<transition event="connection.connected" name="evt">
  <disconnect connectionid="evt.connectionid"/> 
</transition>
The connectionid identifies the telephone call to disconnect.
To disconnect a call automatically when a VoiceXML dialog finishes, your CCXML document can process a dialog.exit event using an <disconnect> element within a <transition> element:
<transition event="dialog.exit" name="evt">
	<disconnect connectionid="evt.connectionid"/>
</transition>