Build a Voice Agent That Holds a Live Call on Telnyx Edge Compute Telnyx has published a code example demonstrating a voice agent built on its Edge Compute platform that can hold a live phone call. The agent answers inbound calls, streams transcription, uses Telnyx AI Inference to generate replies, and speaks them via text-to-speech, looping back to listening. The implementation uses a VoiceAgent actor keyed by call_control_id and leverages the Agent SDK's Agent class for state management and zero-credential AI inference. Getting an AI agent to answer a phone call is only the beginning. The harder part is keeping the call going. This example builds a voice agent on Telnyx Edge Compute that answers an inbound call, speaks a greeting, listens with streaming transcription, sends the caller's speech to Telnyx AI Inference, speaks the reply with TTS, and then goes back to listening. Code: https://github.com/team-telnyx/telnyx-code-examples/tree/main/edge-voice-agent-holds-call https://github.com/team-telnyx/telnyx-code-examples/tree/main/edge-voice-agent-holds-call The core flow is: php call.initiated - answer call.answered - speak greeting call.speak.ended - start transcription call.transcription final - stop transcription - run LLM turn - speak reply call.speak.ended - listen again call.hangup - persist final call state Each live call gets a VoiceAgent actor keyed by call control id . That actor stores: POST /webhooks/voice receives Call Control webhooks GET /debug/call?call control id=