Documentation Index
Fetch the complete documentation index at: https://docs.dograh.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Telnyx is a cloud communications platform that provides programmable voice via its Call Control API. Dograh AIâs Telnyx integration uses Call Control plus WebSocket media streaming to power your voice agents.Prerequisites
Before setting up Telnyx integration, youâll need:- A Telnyx account
- An API Key from the Telnyx Mission Control Portal
- A Call Control Application (its
connection_idis what Dograh stores) - At least one Telnyx phone number assigned to that Call Control Application
- Dograh AI instance running and accessible
Configuration
Step 1: Get Telnyx Credentials
- Log in to the Telnyx Mission Control Portal
- Navigate to API Keys and create (or copy) an API Key
- Navigate to Call Control â Applications and create (or open) the application youâll use with Dograh
- Copy the applicationâs Connection ID (Call Control App ID)
- Navigate to Numbers â My Numbers and assign your phone numbers to that Call Control Application
Step 2: Configure in Dograh AI
- Navigate to /telephony-configurations and click Add configuration
- Select Telnyx as your provider
- Enter your credentials:
- API Key
- Call Control App ID (Connection ID)
- Click Save Configuration
- Open the configuration you just created and add at least one phone number (with country code in E.164 format, e.g.
+1234567890). The default caller ID is used for outbound calls.
Step 3: Test Your Configuration
- Create a test workflow
- Click âCallâ to verify connection
- Check call logs for successful connection
Inbound Calling Setup
Telnyx delivers inbound webhooks at the Call Control Application level â the webhook URL is configured once on the application, and applies to every number assigned to it. When you save an inbound workflow on a phone number, Dograh automatically pushes the webhook URL to your Call Control Applicationâswebhook_event_url (provided the credentials are correct).
Step 1: Assign an Inbound Workflow to the Phone Number
- Go to /telephony-configurations and open your Telnyx configuration
- In the Phone numbers section, edit the number that should receive inbound calls
- Set its Inbound workflow to the agent that should answer
- Save
Step 2: Verify the Webhook URL on the Call Control Application
- Go to Call Control â Applications in the Telnyx Portal
- Open the application whose Connection ID you configured in Dograh
-
In Webhook Settings, confirm:
- Webhook URL is set to:
https://api.dograh.com/api/v1/telephony/inbound/run - HTTP Method is
POST
- Webhook URL is set to:
-
Make sure the phone numbers you want to use for inbound are assigned to this application
Dograh pushed this URL automatically when you saved the inbound workflow in Step 1. The same URL is shared across every number on the Call Control Application â Dograh matches the inbound call to the right agent using the called numberâs inbound workflow assignment. If the field is empty, shows a different URL, or Dograh surfaced a sync warning on save, the auto-push failed â most often because the API Key or Connection ID in Dograh is incorrect. Paste the URL into the field yourself, set the method to
POST, and save. On self-hosted Dograh, replaceapi.dograh.comwith your backend domain.
Step 3: Verify Setup
- Ensure your Dograh AI instance is publicly accessible
- Verify any firewalls allow Telnyxâs IP ranges
Test Inbound Calling
- Call your configured Telnyx phone number from another phone
- Verify your Dograh AI voice agent answers and responds
- Check call logs in both Dograh AI dashboard and Telnyx Portal
Troubleshooting
Invalid phone number error
Invalid phone number error
Ensure phone numbers include country code in E.164 format:
+1234567890Authentication failed
Authentication failed
- Verify the API Key is correct and active - Check for extra spaces in the key - Ensure the key hasnât been revoked in the Telnyx Portal
Webhook signature validation failing
Webhook signature validation failing
- Telnyx signs webhooks with Ed25519 - confirm the public key on the application hasnât changed - Verify the webhook URL matches what Telnyx sends - Check if youâre behind a proxy that modifies request bodies
No audio on calls
No audio on calls
- Verify WebSocket connection is established - Check firewall rules for WebSocket traffic - Ensure audio pipeline is configured correctly
Inbound calls aren't answered
Inbound calls aren't answered
- Verify the Call Control Applicationâs webhook URL is set to
https://api.dograh.com/api/v1/telephony/inbound/run- Ensure the webhook URL is publicly accessible from the internet - Confirm the called number is assigned to the same Call Control Application whose Connection ID is configured in Dograh - Confirm the called number exists in your Dograh telephony configuration and has an Inbound workflow assigned - Verify Dograh AI instance is running and responding
Voice agent doesn't respond to inbound calls
Voice agent doesn't respond to inbound calls
- Confirm the phone number has an Inbound workflow assigned in /telephony-configurations - Verify the API Key matches the one stored in your Dograh telephony configuration - Verify WebSocket connection establishes successfully - Review call logs for error messages
Best Practices
- Test your configuration with a single call before running campaigns
- Monitor the Telnyx Portal for usage and billing
- Use a dedicated Call Control Application for Dograh so the shared webhook URL doesnât conflict with other systems