<Hangup>
The <Hangup> verb ends the call.
<Hangup> Attributes
<Hangup> supports the following attributes that change its behavior:
| Attribute | Allowed Values | Default Value |
|---|---|---|
| history | disable, compact, full | disable |
history
The history attribute determines if the <Hangup> verb should be logged in the history array of the CDR. The default is to not log.
For <Hangup>, both compact and full have the same effect of logging an empty payload to the history array.
{
"payload": {}
}
<Hangup> Examples
Simple Usage
Say "Goodbye." and end the call.
<Response>
<Say>Goodbye.</Say>
<Hangup/>
</Response>