Burki Voice AI supports Twilio, Telnyx, and BYO (Bring Your Own) SIP Trunk as telephony providers. You can use different providers for different assistants, enabling cost optimization and redundancy.
Provider Comparison
🏢 Twilio
Traditional Leader
- Mature, feature-rich platform
- Global presence and reliability
- Extensive documentation and community
- Higher pricing on calls
- Media Streams for real-time audio
- SMS/MMS messaging support
⚡ Telnyx
Modern Alternative
- Competitive pricing (often 50%+ savings)
- Call Control API for advanced features
- Developer-friendly modern APIs
- SMS/MMS messaging support
- Global carrier-grade network
- WebRTC and SIP support
🔧 BYO SIP Trunk
Maximum Flexibility
- Use any SIP provider (Zadarma, VoIP.ms, etc.)
- Potentially lowest costs
- Full control over infrastructure
- Supports SIP REFER for call transfers
- Voice calls only (no SMS typically)
- Requires SIP provider configuration
Provider Selection Logic
The system automatically determines which provider to use based on this priority:1
Assistant-Level Credentials
Check if the assistant has
telnyx_config or twilio_config configuredPriority: Telnyx > Twilio if both are present2
Organization-Level Credentials
Fallback to organization-level telephony credentialsPriority: Telnyx > Twilio if both are present
3
Environment Variables
Use system-wide environment variables as last resortPriority: Telnyx > Twilio if both are present
Twilio Setup
Twilio Configuration
Twilio Configuration
1. Account Setup
- Sign up at Twilio Console
- Purchase a phone number
- Enable Media Streams on your account
2. Webhook Configuration
Set your Twilio webhook URL to:3. Credentials
Environment Variables (Global):4. Features
- ✅ Inbound/Outbound calls
- ✅ Call recording
- ✅ Call transfer
- ✅ Real-time audio streaming
- ✅ SMS capabilities
- ✅ Global phone numbers
Telnyx Setup
Telnyx Configuration
Telnyx Configuration
1. Account Setup
- Sign up at Telnyx Portal
- Purchase a phone number
- Create a Call Control Application
2. Call Control Application
- Go to Call Control > Applications
- Create a new application
- Set webhook URL to:
- Enable Answering Machine Detection (optional)
- Save and note the Connection ID
3. Credentials
Environment Variables (Global):4. Features
- ✅ Inbound/Outbound calls
- ✅ Call recording
- ✅ Call transfer
- ✅ WebRTC support
- ✅ SMS capabilities
- ✅ Competitive pricing
- ⚠️ WebSocket audio streaming (planned)
BYO SIP Trunk Setup
BYO SIP Trunk Configuration
BYO SIP Trunk Configuration
1. Overview
Bring Your Own (BYO) SIP Trunk allows you to integrate any SIP-based telephony provider with Burki Voice AI. This is ideal for:- Cost optimization with existing SIP provider relationships
- Regional/specialized SIP providers (Zadarma, VoIP.ms, etc.)
- Full control over telephony infrastructure
- Integration with on-premise PBX systems
2. Prerequisites
Before setting up BYO SIP trunk:- Purchase phone numbers from your SIP provider
- Obtain SIP gateway address (e.g.,
sip.zadarma.com,sip.voip.ms) - Get SIP authentication credentials (username/password) or configure IP authentication
- Configure your provider to forward calls to Burki
3. Network Requirements
Ensure your SIP provider allows traffic to/from these IPs:4. Organization-Level Configuration
Environment Variables (Global):5. Register Phone Numbers
Register your existing SIP phone numbers with Burki:6. Configure Provider Webhooks
Configure your SIP provider to forward inbound calls to:7. Outbound Calls
Initiate outbound calls through your SIP trunk:8. Call Transfers (SIP REFER)
For call transfers, configure the transfer tool with SIP URI format:Some providers require E.164 formatting with the
+ prefix: sip:+15557654321@sip.provider.com9. Provider-Specific Examples
- Zadarma
- VoIP.ms
- Generic SIP
10. Features & Limitations
Supported:- ✅ Inbound calls (with provider webhook configuration)
- ✅ Outbound calls
- ✅ Call transfers (SIP REFER)
- ✅ Call recording (application-level)
- ✅ Credential-based and IP-based authentication
- ❌ SMS/MMS (most SIP trunks are voice-only)
- ❌ Phone number search/purchase via API (use provider portal)
- ❌ Automatic webhook configuration (manual setup required)
11. Troubleshooting
401 Unauthorized Errors
401 Unauthorized Errors
Calls Not Routing
Calls Not Routing
- Confirm webhook URL is accessible from your provider
- Check SIP URI format matches provider requirements
- Verify phone number is registered in Burki database
Transfer Not Working
Transfer Not Working
- Enable SIP REFER on your provider
- Verify transfer destination format (some providers require E.164)
- Check provider supports blind transfers
Mixed Environment Examples
Use Case 1: Cost Optimization
Use Case 2: Geographic Optimization
Provider Migration
Gradual Migration
You can migrate assistants from one provider to another without downtime:Bulk Migration
Use the API to migrate multiple assistants:Troubleshooting
Call Not Connecting
Call Not Connecting
Check:
- Webhook URLs are correct and accessible
- Credentials are valid and have proper permissions
- Phone number is assigned to correct assistant
- Provider account has sufficient balance
Poor Audio Quality
Poor Audio Quality
Twilio: Ensure Media Streams are enabledTelnyx: Check Call Control Application settingsBoth: Verify network connectivity and bandwidth
Provider Detection Issues
Provider Detection Issues
Check priority order:
- Assistant-level config
- Organization-level config
- Environment variables
Best Practices
- Start with one provider and add the second for specific use cases
- Test thoroughly when switching providers for existing assistants
- Monitor costs and usage patterns to optimize provider selection
- Keep credentials secure and rotate them regularly
- Use environment variables for global defaults, per-assistant config for exceptions