Skip to content

feat(voice-call): Telnyx OpenAI Realtime streaming#1

Draft
koala73 wants to merge 1164 commits intomainfrom
feature/telnyx-openai-realtime
Draft

feat(voice-call): Telnyx OpenAI Realtime streaming#1
koala73 wants to merge 1164 commits intomainfrom
feature/telnyx-openai-realtime

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Jan 13, 2026

Summary

  • Add OpenAI Realtime STT support for Telnyx (parallel to existing Twilio support)
  • Add audio-utils for codec conversion (A-law ↔ μ-law) and RTP wrapping
  • Add TelnyxMediaStreamHandler for bidirectional WebSocket streaming

Files Changed

  • audio-utils.ts - codec utils, RTP header generation
  • telnyx-media-stream.ts - Telnyx WebSocket handler
  • telnyx.ts - streaming methods added
  • config.ts - new Telnyx streaming options
  • runtime.ts - wire Telnyx streaming
  • webhook.ts - initialize handler

Test plan

  • Test outbound call with Telnyx + OpenAI Realtime STT
  • Verify TTS playback via streaming
  • Test fallback to native Telnyx TTS

steipete and others added 30 commits January 12, 2026 21:57
…inds

Custom sandbox binds for docker sandbox
steipete and others added 28 commits January 13, 2026 08:03
When Anthropic's API returns an overloaded_error (temporary capacity issue),
the raw JSON error was being sent to users instead of a friendly message.

Changes:
- Add overloaded error pattern detection
- Return user-friendly message for overloaded errors
- Classify overloaded as failover-worthy (triggers retry logic)
…andling

fix: handle Anthropic overloaded_error gracefully
…bagent-registry

Persist subagent run registry to survive gateway restarts
- Add audio-utils for codec conversion (A-law ↔ μ-law) and RTP wrapping
- Add TelnyxMediaStreamHandler for bidirectional WebSocket streaming
- Wire OpenAI TTS provider to Telnyx (parallel to existing Twilio support)
- Add config options: streamOnDial, bidirectionalMode, bidirectionalCodec, streamTrack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comments