Ultravox
Ultravox is a realtime voice model platform with low time-to-first-byte and configurable agents. The bridge proxies Teler call audio into your Ultravox agent and relays its response back over the same WebSocket.
Reference repos
Section titled “Reference repos”Prerequisites
Section titled “Prerequisites”- An Ultravox account with an agent created
- The
agent_idof that Ultravox agent - A Teler account with an active API key
- One Teler phone number on your account
- An ngrok auth token (for local development)
- Docker and Docker Compose
Configuration
Section titled “Configuration”| Variable | Required | Default | Description |
|---|---|---|---|
ULTRAVOX_API_KEY | yes | none | Your Ultravox API key. |
ULTRAVOX_AGENT_ID | yes | none | The Ultravox agent ID to connect calls to. |
TELER_API_KEY | yes | none | Your Teler API key. |
NGROK_AUTHTOKEN | yes (local) | none | ngrok auth token. |
5-minute setup
Section titled “5-minute setup”git clone https://github.com/frejun-tech/teler-ultravox-bridgecd teler-ultravox-bridgecp .env.example .envdocker compose up -d --buildgit clone https://github.com/frejun-tech/teler-ultravox-node-bridgecd teler-ultravox-node-bridgecp .env.example .envdocker compose up -d --buildInitiate a call
Section titled “Initiate a call”curl -X POST http://localhost:8000/api/v1/calls/initiate-call \ -H "Content-Type: application/json" \ -d '{ "from_number": "+91XXXXXXXXXX", "to_number": "+91XXXXXXXXXX" }'Architecture
Section titled “Architecture”Standard 3-endpoint shape (see Bridge). The bridge holds two WebSockets (Teler ↔ bridge ↔ Ultravox) and pumps audio between them.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Fix |
|---|---|---|
| Agent not responding | Wrong ULTRAVOX_AGENT_ID | Verify in Ultravox dashboard |
| 401 from Ultravox | Invalid ULTRAVOX_API_KEY | Rotate the key |
| Phone rings then drops | Bridge unreachable from public internet | Check ngrok status |
Next steps
Section titled “Next steps” Other recipes OpenAI Realtime, ElevenLabs, Gemini, and more.
Bridge architecture The conceptual model behind every recipe.