# Version 2.1.4 Single Forward Then SMS

This patch fixes repeated forwarding/ringing.

## Problem

Telnyx can emit `call.initiated` events for call legs created during transfer.
The app was sometimes treating the transfer/outbound leg as a brand-new inbound call, which caused the business phone to be called multiple times.

## Fix

- Only process real inbound customer calls: FROM customer TO your Telnyx number.
- Ignore transfer/outbound call legs: FROM your Telnyx number TO BUSINESS_PHONE.
- Add a two-minute forward lock per caller/Telnyx number/business phone combination.
- Add configurable ring timeout:
  BUSINESS_RING_TIMEOUT_SECONDS=12
- Pass the timeout to the Telnyx transfer command.

## Recommended setup

Set BUSINESS_RING_TIMEOUT_SECONDS lower than the voicemail pickup time on the business phone.

Example:
If voicemail picks up after 20 seconds, set:
BUSINESS_RING_TIMEOUT_SECONDS=12

That gives one short forward attempt, then missed-call SMS recovery can trigger when Telnyx reports timeout/no-answer.
