Creating a Connection
Link your AI agent and configure SIP authentication
Overview
A Telepath connection links a SIP username to an AI backend. There are three key steps to get up and running: selecting your AI provider, configuring authentication, and activating your bridge. Once active, your connection will accept inbound SIP calls and route audio to your configured AI agent in real time.
Step 1: Link Your AI Agent
Access the Dashboard
Log in to the Telepath Dashboard and navigate to the Agents section in the left-hand navigation. From here you can view all existing connections and create new ones.
Select Your AI Provider
Choose the AI provider that powers your voice agent. Telepath supports three provider types:
Provider: OpenAI Realtime API
Requirements:
- OpenAI API key with
gpt-4o-realtime-previewaccess - Optional: a system prompt to define your agent's behavior
Setup:
Select OpenAI Realtime API from the provider dropdown
Paste your OpenAI API key into the API Key field
Optionally enter a system prompt to shape the agent's personality and behavior
Click Save to store the provider configuration
Provider: ElevenLabs Conversational AI
Requirements:
- ElevenLabs API key
- Agent ID from your ElevenLabs dashboard
- Optional: Voice ID to specify a particular voice
Setup:
Select ElevenLabs Conversational AI from the provider dropdown
Paste your ElevenLabs API key and Agent ID
Optionally specify a Voice ID if you want a specific voice
Click Save to store the provider configuration
Provider: Your own WebSocket endpoint
Requirements:
- A publicly accessible
wss://URL - Optional: custom authentication headers
Setup:
Select Custom WebSocket from the provider dropdown
Enter your public
wss://endpoint URLOptionally add authentication headers (e.g., Authorization: Bearer <token>)
Click Save to store the provider configuration
Step 2: Configure SIP Authentication
Info: Your SIP Username is a unique identifier for this connection on the Telepath network. Your SIP Password must be secure — a minimum of 12 characters is recommended, using a mix of upper/lowercase letters, numbers, and symbols.
-
Enter a SIP Username
Choose a unique username that identifies this connection (e.g.,
sales-bot-prod). It must be alphanumeric and may include hyphens. -
Create a Strong Password
Enter a secure SIP password. Avoid simple or reused passwords. This credential will be used by your telephony carrier to authenticate with Telepath.
-
Optionally Generate Credentials
Click Generate Credentials to have Telepath auto-create a cryptographically secure username/password pair for you.
-
Save Your Credentials Securely
Copy the SIP username and password and store them in a secure location (e.g., a secrets manager). You will not be able to view the password again after leaving this screen.
Step 3: Point Your SIP Trunk
Origination URI Format
Configure your carrier's SIP trunk to send calls to the following origination URI, replacing {your-sip-username} with the username you created:
sip:{your-sip-username}@sip.telepathvoice.com
Authentication
When configuring your carrier's trunk, provide the following details:
- Username: Your Telepath SIP username
- Password: Your Telepath SIP password
- Protocol: UDP or TLS (TLS recommended for production)
- Codecs: G.711 (PCMU/PCMA) or G.722 (recommended for HD audio)
Step 4: Activate Your Connection
-
Review your configuration
Confirm the AI provider, SIP credentials, and trunk settings are all correctly entered.
-
Click Activate Connection
In the dashboard, click the Activate button on your connection card.
-
Verify the status indicator turns green
A green "Active" badge confirms your connection is ready to receive calls.
-
Place a test call
Dial the phone number associated with your configured trunk to confirm audio flows end-to-end through to your AI agent.
Tip: Once activated, your connection will automatically accept inbound calls. There is no need to restart or re-configure after initial activation unless you change credentials or provider settings.
Managing Your Connection
View Connection Details
From the dashboard Connections page you can view:
- Current status (Active / Inactive / Error)
- SIP username and masked password
- Configured AI provider and model
- Total calls handled and last-call timestamp
- Average latency metrics
Update Credentials
To rotate your SIP password:
- Click Edit on the connection card
- Click Rotate Password
- Copy the newly generated password
- Update your carrier's trunk configuration with the new password
Warning: After rotating your SIP password you must update your carrier's trunk configuration immediately. Calls will fail to authenticate until the carrier is updated with the new credentials.
Delete a Connection
- Navigate to the Connections page in the dashboard
- Click the three-dot menu (…) on the connection card
- Select Delete Connection
- Confirm the deletion in the dialog box — this action is irreversible
API Integration
You can also create and manage connections programmatically using the Telepath REST API.
Troubleshooting
Connection Won't Activate
- Ensure your AI provider API key is valid and has not expired
- Verify that the selected model (e.g.,
gpt-4o-realtime-preview) is available on your API key's plan - Check that your SIP username is unique and does not contain invalid characters
Calls Not Routing
- Confirm the origination URI in your carrier matches the format
sip:{username}@sip.telepathvoice.comexactly - Verify the SIP username and password at the carrier match what is stored in Telepath
- Check that your carrier trunk is set to Active/Enabled in your carrier's dashboard
For more detailed troubleshooting steps, see the Troubleshooting guide.