<disconnect>

<disconnect>

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.

Attributes

NameData typeDescription

namelist

String

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.

Notes

None

Example

<?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.

Child Tags

None

Parent Tags

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

Last updated