Skip to main content

Prerequisites

  • ThreeTone API key with phone integration permissions
  • Phone number or SIP trunk access
  • Webhook endpoint for call notifications (optional)

Phone Number Management

Import Phone Numbers

Add phone numbers to your ThreeTone account:
cURL

List Available Numbers

Retrieve all phone numbers in your account:
cURL

Assign Agent to Phone Number

Connect a voice agent to a specific phone number:
cURL

SIP Trunk Integration

Configure SIP Settings

Set up SIP trunk for enterprise integration:

Authentication Setup

Configure SIP authentication:
cURL

Call Routing Configuration

Basic Routing

Set up simple call routing:

Advanced Routing Rules

Configure complex routing logic:

Webhook Configuration

Call Event Webhooks

Receive real-time call notifications:
cURL

Webhook Payload Example

Typical webhook payload structure:

Testing and Validation

Test Call Setup

Verify your phone integration:
cURL

Integration Health Check

Monitor integration status:
cURL

Troubleshooting

Common Issues

SIP Registration Failures

  • Verify SIP credentials and domain settings
  • Check firewall and NAT configuration
  • Ensure proper codec support

Call Routing Problems

  • Validate agent availability and status
  • Check routing rule configuration
  • Verify phone number assignments

Audio Quality Issues

  • Review codec preferences and bandwidth
  • Check network latency and jitter
  • Validate audio device configuration

Diagnostic Tools

Use built-in diagnostic capabilities:
cURL

Security Considerations

Network Security

  • Use encrypted SIP (SIPS) when possible
  • Implement proper firewall rules
  • Regular security audits and updates

Access Control

  • Restrict API access to authorized systems
  • Use strong authentication credentials
  • Monitor and log all phone system access

Next Steps