<disconnect>

Causes the VoiceXML Interpreter context to disconnect from the user.

Syntax

<disconnect
    namelist = "list of identifiers"
/> 

Attributes

Attribute

Data Type

Required?

Default

Description

namelist

list of identifiers

no

NA

Space-separated list of form item variable to return to the VoiceXML Interpreter context. By default, no variables are returned.

Details

Causes a connection.disconnect.hangup event to occur.

Parents

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

Children

None.

Example

<?xml version="1.0"?>
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml">
    <catch event="connection.disconnect.hangup">
        <log expr="'disconnected'"/>
        <exit/>
    </catch>
    <form>
        <block>
            <prompt>Get ready to disconnect!</prompt>
            <disconnect/>
         </block>
    </form>
</vxml>

See Also

<exit>