mirror of
https://github.com/jambonz/next-static-site.git
synced 2026-10-30 07:14:35 +00:00
23 lines
554 B
Markdown
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>
|