BYOP Setup
Bring Your Own Phone numbers from Twilio, Exotel, Plivo, or Alohaa.
Supported Providers
| Provider | Regions | Features |
|---|---|---|
| Twilio | Global | Full support |
| Exotel | India | Full support |
| Plivo | Global | Full support |
| Alohaa | India | Full support |
Setup Process
Step 1: Get Provider Credentials
Twilio
- Go to Twilio Console
- Copy:
- Account SID
- Auth Token
- Phone Number SID
Exotel
- Go to Exotel Dashboard
- Copy:
- API Key
- API Token
- Virtual Number
Plivo
- Go to Plivo Console
- Copy:
- Auth ID
- Auth Token
- Phone Number
Step 2: Add to Platform
- Go to Settings > Telephony
- Click Add Provider
- Select your provider
- Enter credentials
- Test connection
Step 3: Configure Webhook
Set up webhook URL in your provider:
{{API_BASE_URL}}/api/webhook/{provider}/{workspace_id}
Twilio Webhook
In Twilio Console:
- Go to Phone Numbers
- Select your number
- Set Voice URL to the webhook
Exotel Webhook
In Exotel Dashboard:
- Go to App Bazaar
- Create/edit app
- Set callback URL
Step 4: Assign Agent
- Go to Phone Numbers
- Your BYOP number should appear
- Click Assign Agent
Configuration Options
Per-Number Settings
{
"provider": "twilio",
"phoneNumber": "+919876543210",
"agentId": "agent_abc123",
"settings": {
"recordCalls": true,
"transcribe": true,
"maxDuration": 600
}
}
Fallback Configuration
{
"fallback": {
"onAgentUnavailable": "voicemail",
"voicemailGreeting": "Please leave a message...",
"forwardTo": "+919876543211"
}
}
Troubleshooting
| Issue | Solution |
|---|---|
| Webhook not working | Check URL is correct |
| Calls not connecting | Verify credentials |
| Audio issues | Check codec settings |
| Timeout errors | Increase timeout |