---
schema_version: "1"
id: 336cb3423adb36d151947631cbbfece6c5c130d953175cb769007da024f0753c
title: Automatically End Agentforce Voice Calls and Route by Disconnect Reason
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/264-0-0/rn_agentforce_voice_auto_hangup.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_agentforce_voice_auto_hangup.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: df01830193458bc1cf7594280360b4d68bba6da3c96cc93d2095b0cbbbfb168d
description: Give your voice-enabled agent a clean way to end calls, and share the reason each call ended with your telephony vendor. Agentforce Voice agents end their side of a call when a caller stops responding or the call reaches its maximum duration. Enable Auto-Hangup per agent at the connection level so that the agent also ends the call when it determines that it has fully addressed the caller's request. For partner telephony, turn on Auto Disconnect in Agentforce Voice Setup so that control returns to your vendor, which can use the disconnect reason, such as Customer Intent Fulfilled, to decide how to handle each call.
products:
  - Cross Cloud
release: "264"
---
# Automatically End Agentforce Voice Calls and Route by Disconnect Reason

Give your voice-enabled agent a clean way to end calls, and share the reason each call ended with your telephony vendor. Agentforce Voice agents end their side of a call when a caller stops responding or the call reaches its maximum duration. Enable Auto-Hangup per agent at the connection level so that the agent also ends the call when it determines that it has fully addressed the caller's request. For partner telephony, turn on Auto Disconnect in Agentforce Voice Setup so that control returns to your vendor, which can use the disconnect reason, such as Customer Intent Fulfilled, to decide how to handle each call.

**Where:** This change applies to Lightning Experience in Enterprise, Unlimited, and Developer Editions with Foundations or Agentforce 1 Editions, and [Salesforce Voice add-ons](https://help.salesforce.com/s/articleView?id=service.voice_editions.htm&type=5&language=en_US).

**When:** This change is available on a rolling basis in Salesforce orgs upgraded to Winter ’27 starting in late October 2026. Go to [trust.salesforce.com](http://trust.salesforce.com/) for exact dates.

**How:** Enable Auto-Hangup per agent with Agentforce Script. In Agentforce Studio, open the agent's Telephony connection, switch to script mode, and in the telephony code block set the `auto_hangup` parameter to `True`. It's `False` by default, so the agent doesn't end the call when it determines that the caller's request is fully addressed. Auto-Hangup is supported only for Telephony connections.

![The auto\_hangup parameter set to True in the telephony code block.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-release-notes-salesforce_release_notes-264-0-0-production-enus/550ba85b-db1a-4608-9cd4-9a65ec96e1fa/salesforce_release_notes/images/rn_agentforce_voice_auto_hangup_code_block.png)

Whether you need any other configuration depends on your telephony:

- If you use Agentforce Contact Center, turn on Auto-Hangup for the agent. No other setup is needed.
- If you use partner telephony, turn on Auto-Hangup for the agent so that it ends calls when the caller's request is fully addressed. Then prepare your interactive voice response (IVR) flow to read the disconnect reason on the VoiceCall record. Finally, turn on Auto Disconnect in Agentforce Voice Setup so that control returns to your vendor for any call the agent ends. Auto Disconnect is off by default and applies org-wide to partner telephony. When it's off, the call stays connected until the caller hangs up.

![The Auto Disconnect setting in Agentforce Voice Setup.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-release-notes-salesforce_release_notes-264-0-0-production-enus/550ba85b-db1a-4608-9cd4-9a65ec96e1fa/salesforce_release_notes/images/rn_agentforce_voice_auto_disconnect_setting.png)

#### See Also

- [_Salesforce Help_: Enable Auto-Hangup for Agentforce Voice](https://help.salesforce.com/s/articleView?id=ai.agentforce_voice_auto_hangup.htm&type=5&language=en_US)