To disconnect a telephone call, your CCXML document must use a <disconnect> element within a <transition> element.
<transition event="connection.connected" name="evt"> <disconnect connectionid="evt.connectionid"/> </transition>The connectionid identifies the telephone call to disconnect.
<transition event="dialog.exit" name="evt"> <disconnect connectionid="evt.connectionid"/> </transition>