Get Started
This document describes Twilio's old 2008-08-01 API. See what we added in our latest revision: changelog.

TwiML TM Voice: Hangup Verb

The <Hangup> verb ends a call.

Verb Attributes

The <Hangup> verb has no attributes.

Nouns

<Hangup> does not have any expected "noun" body values.

Nesting Rules

The <Hangup> verb can be nested in the following elements:

The following verbs can be nested within <Hangup>:

  • none

Examples

Example 1: Simple hang up

<?xml version="1.0" encoding="UTF-8"?>
<Response>
     <Hangup/>
</Response>   

The following code causes the call to hang up immediately

Hints and Advanced Uses

  • After processing a Gather, Record, or Dial, you may end the call by sending back a response containing the <Hangup> verb.