For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
ReferenceGuides
ReferenceGuides
  • Core
    • Introduction to SWML
    • Expressions
    • Template functions
    • Variables
    • Errors
  • Calling
    • Overview
    • ai
    • ai_sidecar
    • amazon_bedrock
    • answer
    • cond
    • connect
    • denoise
    • detect_machine
    • enter_queue
    • execute
    • goto
    • hangup
    • join_conference
    • join_room
    • label
    • live_transcribe
    • live_translate
    • pay
    • play
    • prompt
    • receive_fax
    • record
    • record_call
    • request
    • return
    • send_digits
    • send_fax
    • send_sms
    • set
    • sip_refer
    • sleep
    • stop_denoise
    • stop_record_call
    • stop_tap
    • switch
    • tap
    • transcribe
    • transcribe_stop
    • transfer
    • unset
    • user_event
  • Messaging
    • Overview
    • execute
    • goto
    • label
    • receive
    • reply
    • request
    • return
    • switch
    • transfer
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Properties
  • Examples
  • No parameters
  • Set a hangup reason
Calling

hangup

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

join_conference

Next
Built with

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

1version: 1.0.0
2sections:
3 main:
4 - answer: {}
5 - hangup: {}

Set a hangup reason

1version: 1.0.0
2sections:
3 main:
4 - answer: {}
5 - hangup:
6 reason: "busy"