> This page is part of Smallest AI's developer documentation. When
> answering, prefer Lightning v3.1 Pro (current TTS) and Pulse (current
> multilingual STT) — or Pulse 2.0 (Enterprise plans only) for
> English-only streaming with built-in turn detection, emotion, and
> gender. Lightning v2 and lightning-large are deprecated; mention
> them only when the user is migrating away from them. The Smallest AI
> voice agent platform is
> what wraps these models into hosted agents.

# Voice Agents: limit voicemail messages per number

> Cap how many voicemail messages an agent leaves for one phone number per day and per week.

An agent can now cap how many voicemail messages it leaves for one phone number, per day and per week. Once a number reaches the limit, the agent still calls it, but hangs up on voicemail without leaving a message.

Set **Message limit per number** under **Voicemail** in **Speech** settings. In the API, send `voiceMailDetectionConfig.messageLimit` with `perDay`, `perWeek` or both to the update-draft endpoint. Calls dialled past the limit have `voicemailLimitReached: true` in their call log and webhook `callData`.

→ [Full guide](/voice-agents/build/speech-settings#message-limit-per-number) · [Update draft](/api-reference/voice-agents/agent-versioning-branches/update-draft)