# Version 2.2.0 Comfort Message Speak-Ended Fix

This patch improves the caller comfort message.

## Why

The previous version sent Telnyx's Speak command, waited a fixed number of seconds, then transferred.
If Telnyx had not started/finished TTS playback yet, the caller might not hear the comfort message.

## What changed

- Uses Telnyx Speak Text command to generate audio from CALLER_COMFORT_MESSAGE.
- Uses configurable TTS voice:
  - TELNYX_SPEAK_VOICE=AWS.Polly.Joanna-Neural
  - TELNYX_SPEAK_SERVICE_LEVEL=premium
  - TELNYX_SPEAK_LANGUAGE=en-US
- After the call is answered, the app queues the comfort message.
- The app waits for Telnyx `call.speak.ended`.
- Only after `call.speak.ended` does the app transfer to BUSINESS_PHONE.

## Logs to check

- [Telnyx voice command ok: caller_comfort_message]
- [Caller comfort message queued: waiting for call.speak.ended before transfer]
- [Telnyx speak event] eventType call.speak.started
- [Telnyx speak event] eventType call.speak.ended
- [Telnyx voice command ok: transfer]
