Files
next-static-site/docs/webhooks/hangup.md
T
2021-04-21 21:21:54 -04:00

23 lines
554 B
Markdown

# hangup
The hangup command terminates the call and ends the application.
```json
{
"verb": "hangup",
"headers": {
"X-Reason" : "maximum call duration exceeded"
}
}
```
You can use the following options in the `hangup` action:
| option | description | required |
| ------------- |-------------| -----|
| headers | an object containing SIP headers to include in the BYE request | no |
<p>
<a href="/docs/webhooks/gather" style="float: left;">Prev: gather</a>
<a href="/docs/webhooks/leave" style="float: right;">Next: leave</a>
</p>