# Version 2.1.6 Missed-Call SMS Delay

This patch adds a configurable delay before the initial missed-call recovery SMS is sent.

## New environment variable

MISSED_CALL_SMS_DELAY_SECONDS=10

## Behavior

When a missed call, after-hours call, timeout, no-answer, or voicemail-detected event triggers missed-call recovery:

1. The app creates/updates the lead.
2. The app waits `MISSED_CALL_SMS_DELAY_SECONDS`.
3. The app sends the initial missed-call SMS through the configured SMS provider.
4. The outbound message or failure marker is saved in the lead conversation.

## Why

A short delay makes the text feel more natural and avoids the customer receiving the SMS instantly while the call is still ending.

## Recommended value

Use:

MISSED_CALL_SMS_DELAY_SECONDS=10

Set to 0 if you want instant SMS again.
