Telnyx Voice Streaming Python
Stream real-time voice data from Telnyx calls using Python, enabling custom audio processing and analysis workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add telnyx-voice-streaming-python npx -- -y @trustedskills/telnyx-voice-streaming-python
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"telnyx-voice-streaming-python": {
"command": "npx",
"args": [
"-y",
"@trustedskills/telnyx-voice-streaming-python"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to stream audio data using the Telnyx Voice Streaming API via Python. It facilitates real-time voice communication, allowing for features like automated phone calls or interactive voice response (IVR) systems. The skill handles the complexities of establishing and maintaining a streaming connection with the Telnyx platform.
When to use it
- Automated outbound calling: Initiate and manage phone calls programmatically for notifications or reminders.
- Interactive Voice Response (IVR): Build dynamic IVR systems that respond to user voice input in real-time.
- Voice-based chatbots: Integrate voice communication into chatbot applications, allowing users to interact through speech.
- Real-time audio processing: Stream audio data for analysis or manipulation during a call (e.g., transcription, sentiment analysis).
Key capabilities
- Streaming audio using the Telnyx Voice Streaming API.
- Python implementation for ease of integration.
- Handles connection management and error handling.
- Supports both sending and receiving audio streams.
Example prompts
- "Initiate a call to +15551234567 and play the greeting message."
- "Record user input from the incoming voice stream for 10 seconds."
- "Send the pre-recorded audio file 'welcome.wav' to the caller."
Tips & gotchas
- Requires a Telnyx API key to authenticate with the Telnyx platform.
- Ensure your environment has the necessary Python dependencies installed (likely including the
telnyxlibrary).
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.