Causes the interpreter context to disconnect from the user. As a result, the interpreter context will throw a connection.disconnect.hangup event, which may be caught to do cleanup processing.
|namelist||Variable names to be returned to interpreter context. The default is to return no variables; this means the interpreter context will receive an empty ECMAScript object.|
<?xml version="1.0"?> <vxml version="2.0"> <form> <block> <prompt> You will hear this text. </prompt> <disconnect/> <prompt> You will never hear this text. </prompt> </block> </form> </vxml>
The output of the above script would be:
Computer: You will hear this text.