# AI voice agent silence timeout: a guide | APIFleet

> AI voice agent silence timeout, explained: what counts as silence on a phone call, when APIFleet asks if the caller is still there, and why hang-up is opt-in.

Canonical URL: https://apifleet.dev/blog/ai-voice-agent-silence-timeout
Last updated: 2026-11-16
Markdown Mirror URL: https://apifleet.dev/blog/ai-voice-agent-silence-timeout.md
LLM index: https://apifleet.dev/llms.txt
MCP discovery: https://apifleet.dev/.well-known/mcp.json

An AI voice agent silence timeout is the quiet period after which the agent asks whether the caller is still there. On APIFleet Telnyx and Twilio calls on OpenAI Realtime or GPT-Live, the clock starts once agent audio has played out, and by default the agent asks after 8000 ms, up to 2 times. Silence hang-up is opt-in.

APIFleet team · 16 November 2026 · 10 min read

## Why does a voice agent need a silence timeout?

A speech-to-speech model answers caller speech, and silence produces no event for it to answer. A prompt line such as "ask if they are still there" therefore cannot start the question by itself. Something outside the model has to watch the clock and request a response.

APIFleet saw the failure on a GPT-Live phone call on 10 November 2026. The caller said "Allo" while the opening played, then neither side spoke for 38 seconds until the caller hung up. That was one call, not a rate, and nothing in it asked whether anyone was there.

The fix is a small controller per carrier call. After a period of real silence it asks the model to check whether the caller is still there, up to a maximum count, and only if an operator has opted in does it ask for a goodbye and end the call. The model phrases every word, in the language of the conversation, and the controller decides only when.

In the gpt-live-1 and speech-to-speech guides, a silent call is the opposite case: a call connected for 10 seconds or more in which the assistant's audio never started. This guide covers the reverse, where the assistant has spoken and the caller says nothing.

## What counts as silence on a phone call?

The controller counts silence only while nothing else is happening, because a quiet line is often a working line. Each of the first five states in the table below suspends the clock, and the clock restarts from zero once the state clears. The first check then comes about one idle period later.

GPT-Live has no voice-activity event, so APIFleet infers caller speech from audio. Frames louder than an RMS of 65, about -54 dBFS, hold the clock for 2.5 s after the last one, but they never reset the check count, because loudness is no evidence of words. A transcript fragment does reset it.

The hold exists because GPT-Live's input transcript arrives late. On simulated calls on 8 November 2026 its fragments arrived 1 to 3.2 s after the caller started speaking, with a median of 1.5 s, which is a simulation measurement, not live traffic.

Loudness alone has a cost: background noise above about -54 dBFS, such as a busy street or a television, holds the GPT-Live clock the same way, so that line gets no checks. On OpenAI Realtime the caller-speaking state comes from server voice activity detection instead.

States that suspend the silence clock on a carrier call

| State of the call | Clock | Why |
| --- | --- | --- |
| The opening, native or cached, has not finished playing | Suspended | The caller has not yet heard the assistant |
| Assistant audio is still queued for the carrier | Suspended | A finished response is not enough: the audio must have played out to the carrier |
| A tool call, backend work, transfer or hang-up is pending | Suspended | The assistant is working, so the line is quiet but not idle |
| A booking read-back is waiting for the caller's answer | Suspended | A check in between would make a plain yes ambiguous |
| The caller is speaking | Suspended | OpenAI Realtime knows from server VAD; GPT-Live infers it from audible frames and transcripts |
| None of the above and nobody speaks | Running | After one idle period the first check is requested |

## What does the timeline look like with the defaults?

The table traces one silent call with the defaults, assuming each check takes 2 s to say. A check request restarts the clock, and the end of its audio restarts it again. So check 2 comes one full idle period after check 1 finished playing, not at a flat 16 s.

Silence timeline with the defaults (8000 ms, 2 checks, hang-up off), assuming each check takes 2 s to say

| Time | What happens | Silence clock |
| --- | --- | --- |
| 0 s | The assistant's last audio has played out and nobody speaks | Starts |
| about 8 s | Check 1 is requested and the model asks if the caller is still there | Restarts at the request |
| about 10 s | Check 1 has finished playing | Restarts again |
| about 18 s | Check 2 is requested, in different words | Restarts at the request |
| about 20 s | Check 2 has finished playing, and 2 checks is the default maximum | Restarts again |
| after 20 s | Nothing more happens, because hang-up is off by default and the line stays open | No further step |
| about 30 s | Opt-in only, for a caller with fewer than 4 words: with hang-up set to 10000, for example, a goodbye is requested and the call ends once it has played | Opt-in hang-up |

## Which three server settings control the timeout?

The operator who runs the APIFleet server sets them with environment variables. There is no per-assistant, dashboard or API field for them, so a customer of a hosted service has no setting to change. This guide describes the shipped defaults, not what any particular deployment uses.

All durations are milliseconds: 0 or below, or an off word such as false, turns a setting off, and any other value must be at least 5000, for example 8000. A value from 1 to 4999, or text such as true or 8000ms, is ignored with a startup warning and the default applies. So APIFLEET\_IDLE\_REPROMPT\_MS=8 gives the default 8000, not 8 s, and APIFLEET\_IDLE\_HANGUP\_MS=10 leaves hang-up off.

That floor exists because shorter silences are ordinary pauses, such as a caller thinking or finding a date. A lower value would ask callers whether they are still there within seconds of every pause.

The three idle settings, their shipped defaults and what turns them off

| Variable | If unset | Off value | What it does |
| --- | --- | --- | --- |
| APIFLEET\_IDLE\_REPROMPT\_MS | 8000 (the default) | 0, false, off, no or disabled | Silence before each check; turning it off disables the whole feature, hang-up included |
| APIFLEET\_IDLE\_MAX\_REPROMPTS | 2 (the default) | 0 asks no check; a negative value counts as 0 | How many checks are asked before the goodbye step |
| APIFLEET\_IDLE\_HANGUP\_MS | 0 (hang-up off) | 0, false, off, no or disabled | Opt-in: silence after the last check before a goodbye and hang-up, for example 10000 |

## Why is hanging up for silence opt-in?

Hanging up for silence is opt-in and off by default, because APIFleet's own reviews kept finding cases where it ends a call on someone who is still there. With APIFLEET\_IDLE\_HANGUP\_MS at 0, the line stays open after the last check until the caller speaks, either side hangs up, the assistant ends the call, or the call reaches its maximum duration. The checks are the part callers were missing.

When an operator opts in, for example with APIFLEET\_IDLE\_HANGUP\_MS=10000, the model is asked for one short goodbye after that much silence following the last check's playback. The call then ends through the end\_call built-in once the goodbye has played, or 8 s after the request if the model says nothing. An assistant with end\_call\_enabled set to false cannot be ended this way, and its checks still run.

A caller who has said at least 4 words in the call, counting runs of letters or digits and ignoring keypad presses, still gets the checks. With the opt-in hang-up, that engaged caller is not hung up on for silence after the last check, because a quiet engaged caller is usually busy: "hold on, let me ask my wife". One exception applies when the assistant has already said its own goodbye.

When the assistant's own goodbye closes the conversation, no check is asked, because "are you still there?" would reopen a finished call. That means the caller had spoken before the goodbye and every later caller turn was a short closing reply of 6 words or fewer without a question. If the English goodbye detector recognises the goodbye, the opt-in hang-up ends the call after one idle period of silence, whatever the word count, and with hang-up off the goodbye only withholds the checks.

APIFleet's notes say coverage is offline tests only, and no live call has yet verified how quickly GPT-Live speaks after an instruction append. Try the opt-in hang-up on your own live calls before you rely on it.

Open cases from APIFleet's own notes: each can end an opt-in hang-up call on someone who is still there

| Case | What can happen |
| --- | --- |
| A short request after the assistant's goodbye | A reply such as "Hold on, let me check something" has 6 words and no question, so it counts as a closing reply and the call can end after the silence without a check |
| A caller resumed after a failed transfer | Engagement is counted per runtime session, so the caller starts as not engaged |
| A GPT-Live check withdrawn for caller audio alone | A cough or a rustle withdraws the check but it still counts, so a caller who is not engaged can reach the goodbye without having heard a check |
| APIFLEET\_IDLE\_MAX\_REPROMPTS set to 0 with hang-up opted in | The checks are skipped and the goodbye follows the hang-up delay |

## How does the agent ask if the caller is still there?

No text is hard-coded. The model words the check as one short sentence in the conversation's language, falling back to the assistant's language, and uses different words on the second check. If the caller asked the agent to wait, it asks whether they need more time instead.

On OpenAI Realtime the check is a one-off response.create with tool\_choice set to none, so the model cannot call a tool, and its instructions apply to that response only. GPT-Live has no one-off response command, so APIFleet appends a short voice instruction and sends one nudge 1.5 s after the server acknowledges it if no audio has started. On GPT-Live, if the caller starts speaking before the check is spoken, the check is withdrawn and the model is told to answer the caller instead.

## Which calls get silence checks, and which do not?

Only carrier calls on Telnyx or Twilio qualify, inbound and outbound, and only on OpenAI Realtime or GPT-Live. Carrier bridges are the only place with server-side evidence of when the assistant's audio has played out, and a carrier leg to end. Every other path keeps its earlier behavior, which is no check at all.

Idle silence is not end-of-turn silence. End-of-turn silence decides how long a pause ends the caller's turn: it is the assistant's turn\_eagerness field, which on Gemini Live maps to a silence window of 300, 500 or 800 ms, and OpenAI's server VAD has its own silence\_duration\_ms. Neither starts a check.

Where the silence checks run

| Call type | Checks | Why |
| --- | --- | --- |
| Telnyx or Twilio call on OpenAI Realtime | Yes | The carrier bridge reports when audio has played out |
| Telnyx or Twilio call on GPT-Live | Yes | Same bridge, plus loudness and transcript evidence from the caller |
| Gemini Live | No | It inherits the OpenAI session code but does not opt in, because it speaks a different protocol |
| Cascading pipeline (speech-to-text, chat model, text-to-speech) | No | That session has no idle code |
| Voximplant | No | It uses a separate media session that passes no idle settings |
| Browser tests and simulations | No | The browser buffers playback itself, so the server cannot tell when a turn finished playing |

## A safe rollout for an operator, step by step

Change one thing at a time and read the startup log, because a rejected value is reported there. These steps assume you run the APIFleet server yourself.

1. Start with nothing set. By default the first check comes after 8000 ms, up to 2 checks are asked, and hang-up is off.
2. Place a test call on a Telnyx or Twilio number with an OpenAI Realtime or GPT-Live assistant, say one word, and stay silent. The first check should come about 8 s after the assistant's audio finishes playing, in the language of the call.
3. Change one value, in milliseconds, and start the server again. A startup warning such as "APIFLEET\_IDLE\_REPROMPT\_MS=8 was ignored: it is in milliseconds and must be 0 or at least 5000" means the default is still in use.
4. Keep hang-up off until you have tried it on live calls, because the open cases above can end a call on someone who is still there.
5. To try the opt-in hang-up, set APIFLEET\_IDLE\_HANGUP\_MS, for example 10000, and keep end\_call\_enabled true, which is the default, on the assistants you test.
6. After an opt-in silence hang-up, read the stored call record: the ended reason is silence, and the tool events hold an inferred end\_call with reason caller\_silent.

![Workflow diagram of one conversation: caller audio, speech model, tools and context, and the spoken reply](https://apifleet.dev/content/voice-agent-workflow.svg)

## Continue with a practical next step

- [Barge-in during call opening: who speaks first on phone calls](https://apifleet.dev/reddit/barge-in-during-call-opening)
- [gpt-live-1 on real phone calls: a field guide](https://apifleet.dev/blog/gpt-live-1)
- [Test silence, interruptions and unclear speech before launch](https://apifleet.dev/blog/test-voice-agents)
- [Make repeated tool calls safe: idempotency keys, timeouts and webhook retries](https://apifleet.dev/blog/voice-agent-tool-calling-idempotency)
- [Where the seconds go on a voice agent tool turn](https://apifleet.dev/reddit/voice-agent-tool-call-latency)
- [Speech-to-speech models in production: openings, latency and errors](https://apifleet.dev/blog/speech-to-speech-models)
- [APIFleet API documentation: assistant fields and the end\_call built-in](https://apifleet.dev/docs)

## Frequently asked questions

### How long should an AI voice agent wait before asking if the caller is still there?

APIFleet waits 8000 ms by default, counted only after the assistant's audio has played out and nothing else is pending. Values from 1 to 4999 are ignored, because shorter silences are ordinary pauses. The operator who runs the server sets the value with an environment variable.

### Does APIFleet hang up on a silent caller?

Not by default. After the last check, two by default, the line stays open. An operator can opt in with APIFLEET\_IDLE\_HANGUP\_MS, for example 10000, which adds a goodbye and hang-up through end\_call, but it has been tested offline only and has known open cases.

### Why was APIFLEET\_IDLE\_REPROMPT\_MS=8 ignored?

The variable takes milliseconds, and a value from 1 to 4999 is ignored with a startup warning, after which the default 8000 applies. APIFLEET\_IDLE\_HANGUP\_MS=10 is ignored the same way and leaves hang-up off.

### Does the silence timeout work on Gemini Live, cascading or Voximplant calls?

No. Silence checks run only on Telnyx and Twilio calls on OpenAI Realtime and GPT-Live. Gemini Live, cascading pipelines, Voximplant, browser tests and simulations do not ask whether the caller is still there.

### Can a prompt make a voice agent ask if the caller is still there?

Not on its own. A speech-to-speech model answers caller speech, and silence produces no event to answer, so an application timer has to request the check. APIFleet asks the model to phrase it, so the words follow the language of the call.

## Sources and evidence

- [APIFleet API documentation: assistant fields and the end\_call built-in](https://apifleet.dev/docs) · observed 2026-11-16
- [APIFleet: Barge-in during call opening, who speaks first](https://apifleet.dev/reddit/barge-in-during-call-opening) · observed 2026-11-16
- [OpenAI documentation: Realtime voice activity detection (VAD)](https://developers.openai.com/api/docs/guides/realtime-vad) · observed 2026-11-16
- [OpenAI documentation: Realtime conversations (response.create)](https://developers.openai.com/api/docs/guides/realtime-conversations) · observed 2026-11-16

Prepared with AI assistance and checked against the linked evidence. Examples are illustrative unless explicitly documented as measured results.

## Next on your reading list.

[gpt-live-1 on Real Phone Calls: A Field Guide](https://apifleet.dev/blog/gpt-live-1)[Test the conversation, not just the happy path](https://apifleet.dev/blog/test-voice-agents)[Speech-to-Speech Models in Production: A Guide](https://apifleet.dev/blog/speech-to-speech-models)

## Related

- [APIFleet](https://apifleet.dev/)
- [Documentation](https://apifleet.dev/docs)
- [Pricing](https://apifleet.dev/pricing)
