Skip to content

Add Twilio Elastic SIP Trunk integration for incoming calls with Vosk…#2036

Open
PawaHQ wants to merge 1 commit into
alphacep:masterfrom
PawaHQ:claude/session-capabilities-0MJOL
Open

Add Twilio Elastic SIP Trunk integration for incoming calls with Vosk…#2036
PawaHQ wants to merge 1 commit into
alphacep:masterfrom
PawaHQ:claude/session-capabilities-0MJOL

Conversation

@PawaHQ

@PawaHQ PawaHQ commented May 5, 2026

Copy link
Copy Markdown

… STT

Adds a Python server that handles incoming calls from a Twilio Elastic SIP Trunk and transcribes audio in real-time using Vosk:

  • POST /incoming — returns TwiML to open a Media Stream
  • WS /media-stream — receives μ-law 8 kHz audio from Twilio, converts to PCM 16 kHz via audioop, feeds both inbound and outbound tracks to independent KaldiRecognizer instances, and logs partial + final transcripts

https://claude.ai/code/session_01JDYq2oFzkc7p9Bek5U5DTH

… STT

Adds a Python server that handles incoming calls from a Twilio Elastic SIP
Trunk and transcribes audio in real-time using Vosk:

- POST /incoming  — returns TwiML <Connect><Stream> to open a Media Stream
- WS  /media-stream — receives μ-law 8 kHz audio from Twilio, converts to
  PCM 16 kHz via audioop, feeds both inbound and outbound tracks to
  independent KaldiRecognizer instances, and logs partial + final transcripts

https://claude.ai/code/session_01JDYq2oFzkc7p9Bek5U5DTH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants