Skip to content

End the call with an optional reason.

Properties

hangup

objectRequired

An object that accepts the following properties.

hangup.reason The reason for hanging up the call.

Examples

No parameters

YAMLJSON

version: 1.0.0
sections:
  main:
    - answer: {}
    - hangup: {}

Set a hangup reason

YAMLJSON

version: 1.0.0
sections:
  main:
    - answer: {}
    - hangup:
        reason: "busy"

SignalWire Developer Documentation