# Telephony Providers

> Connect your voice agent to phone networks using Twilio, Exotel, Plivo, Telnyx, or Alohaa.

Source: https://edesy.in/docs/voice-agent/telephony

Edesy Voice Agent supports multiple telephony providers for both inbound and outbound calls.

## Supported Providers

| Provider | Region | Best For | WebSocket Support |
|----------|--------|----------|-------------------|
| [Twilio](https://edesy.in/docs/voice-agent/telephony/twilio) | Global | International coverage | Native |
| [Exotel](https://edesy.in/docs/voice-agent/telephony/exotel) | India | Indian market | Native |
| Plivo | Global | Cost-effective global | Native |
| Telnyx | Global | Enterprise SIP | Native |
| Alohaa | India | Indian enterprise | Native |

## Choosing a Provider

### For Indian Market

**Recommended: Exotel**
- Best coverage across India
- TRAI compliant (handles DND automatically)
- Competitive pricing for Indian calls
- Local support and documentation

### For Global Coverage

**Recommended: Twilio**
- Widest international coverage
- Excellent documentation
- Robust WebSocket streaming
- Premium pricing

### For Cost Optimization

**Consider: Plivo or Telnyx**
- Lower per-minute rates
- Good API compatibility
- Growing feature set

## Common Features

All providers support:

- **Inbound Calls**: Receive calls on virtual numbers
- **Outbound Calls**: Initiate calls via API
- **WebSocket Streaming**: Real-time audio bidirectional streaming
- **Call Recording**: Automatic recording with URL callback
- **Status Webhooks**: Call status updates (ringing, answered, completed)
- **DTMF Support**: Keypad input handling

## Audio Specifications

| Parameter | Value |
|-----------|-------|
| Sample Rate | 8000 Hz |
| Channels | Mono |
| Bit Depth | 16-bit |
| Encoding | μ-law (Twilio) / Linear PCM (Exotel) |

## Integration Pattern

```
┌──────────────┐     ┌─────────────┐     ┌──────────────┐
│   Caller     │────▶│  Provider   │────▶│  Your Server │
│              │     │  (Twilio)   │     │  (WebSocket) │
└──────────────┘     └─────────────┘     └──────────────┘
       │                   │                    │
       │    Phone Call     │   Audio Stream     │
       │◀─────────────────▶│◀──────────────────▶│
       │                   │                    │
       │   Voice Response  │   AI Response     │
       │◀─────────────────▶│◀──────────────────▶│
```

## Next Steps

- [Twilio Integration](https://edesy.in/docs/voice-agent/telephony/twilio) - Set up Twilio
- [Exotel Integration](https://edesy.in/docs/voice-agent/telephony/exotel) - Set up Exotel for India
