> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # Hangup The `` verb ends a call. While ``ed calls are never answered, calls that use the `` verb for disconnection are still answered, becoming subject to billing. ## Verb attributes The `` verb does not support any attributes. ## Nesting No other verbs can be nested within `` and you cannot nest `` within any other verbs. ## Examples ### A simple hangup ```xml ``` **`Node.js`** ```javascript title="Node.js" const { RestClient } = require("@signalwire/compatibility-api"); const response = new RestClient.LaML.VoiceResponse(); response.hangup(); console.log(response.toString()); ``` ```csharp using Twilio.TwiML; using System; class Example { static void Main() { var response = new VoiceResponse(); response.Hangup(); Console.WriteLine(response.ToString());; } } ``` ```python from signalwire.voice_response import VoiceResponse, Hangup response = VoiceResponse() response.hangup() print(response) ``` ```ruby require 'signalwire/sdk' response = Signalwire::Sdk::VoiceResponse.new do |response| response.hangup end puts response.to_s ``` SignalWire will answer the call then immediately hangup. --- \*Twilio and TwiML are trademarks of Twilio, Inc. SignalWire, Inc. and its products are not affiliated with or endorsed by Twilio, Inc.