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
Plivo is a cloud communications platform that provides global voice and messaging APIs. Dograh AIâs Plivo integration uses Plivoâs XML and WebSocket streaming to power your voice agents.Prerequisites
Before setting up Plivo integration, youâll need:- A Plivo account
- Auth ID and Auth Token from your Plivo Console
- A Plivo Application with Voice capability (used for inbound webhook routing)
- At least one Plivo phone number
- Dograh AI instance running and accessible
Configuration
Step 1: Get Plivo Credentials
- Log in to your Plivo Console
- Find your Auth ID and Auth Token on the dashboard
- Navigate to Voice â Applications and create (or open) the application youâll use with Dograh
- Copy the Application ID (a UUID) â youâll attach numbers to this app and Dograh will manage its
answer_url - Navigate to Phone Numbers â Your Numbers and copy the numbers you plan to use
Step 2: Configure in Dograh AI
- Navigate to /telephony-configurations and click Add configuration
- Select Plivo as your provider
- Enter your credentials:
- Auth ID
- Auth Token
- Application 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
Plivo numbers donât carry ananswer_url directly â the URL lives on a Plivo Application, and each number is linked to one application. When you save an inbound workflow on a phone number, Dograh automatically pushes the webhook URL to your Plivo Applicationâs answer_url (provided the credentials are correct). You donât need to set the webhook by hand.
Step 1: Link the Phone Number to Your Plivo Application
- Go to Phone Numbers â Your Numbers in the Plivo Console
- Open the number you want to use for inbound calls
- Set its Application to the same application whose ID you configured in Dograh
- Save
Step 2: Assign an Inbound Workflow to the Phone Number in Dograh
- Go to /telephony-configurations and open your Plivo 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 3: Verify the Answer URL on the Plivo Application
- Open your Plivo Application in the Plivo Console under Voice â Applications
-
Confirm:
- Answer URL is set to:
https://api.dograh.com/api/v1/telephony/inbound/run - Answer Method is
POST
Dograh pushed this URL automatically when you saved the inbound workflow in Step 2. The same URL is shared across every number linked to that application â Dograh routes each inbound call to the right agent based on 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 Auth ID/Token or Application ID in Dograh is incorrect. Paste the URL into the field yourself, set the method toPOST, and save the application. On self-hosted Dograh, replaceapi.dograh.comwith your backend domain. - Answer URL is set to:
Step 4: Verify Setup
- Ensure your Dograh AI instance is publicly accessible
- Verify any firewalls allow Plivoâs IP ranges
Test Inbound Calling
- Call your configured Plivo phone number from another phone
- Verify your Dograh AI voice agent answers and responds
- Check call logs in both Dograh AI dashboard and Plivo Console
Troubleshooting
Invalid phone number error
Invalid phone number error
Ensure phone numbers include country code in E.164 format:
+1234567890Authentication failed
Authentication failed
- Verify Auth ID and Auth Token are correct - Check for extra spaces in credentials - Ensure credentials havenât been regenerated in Plivo Console
Webhook signature validation failing
Webhook signature validation failing
- Confirm your Auth Token matches exactly - Verify the webhook URL matches what Plivo sends - Check if youâre behind a proxy that modifies requests
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 go to voicemail or aren't answered
Inbound calls go to voicemail or aren't answered
- Verify the phone number is linked to the same Plivo Application whose ID you configured in Dograh - Confirm the called number exists in your Dograh telephony configuration and has an Inbound workflow assigned
- After assigning the inbound workflow, confirm Dograh successfully
updated the applicationâs
answer_url(no warning shown on save) - 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 - Check webhook signature validation is working (Auth Token in Dograh matches Plivo Console) - Verify WebSocket connection establishes successfully - Review call logs for error messages
Best Practices
- Test your configuration with a single call before running campaigns
- Monitor Plivo Console for usage and billing
- Use a dedicated Plivo Application for Dograh so the shared
answer_urldoesnât conflict with other systems