# Source: https://docs.pipecat.ai/server/services/serializers/exotel.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipecat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ExotelFrameSerializer

> Serializer for Exotel WebSocket media streaming protocol

## Overview

`ExotelFrameSerializer` enables integration with Exotel's WebSocket media streaming protocol, allowing your Pipecat application to handle phone calls via Exotel's voice services with bidirectional audio conversion and DTMF event handling for Indian telephony infrastructure.

<CardGroup cols={2}>
  <Card title="Exotel Serializer API Reference" icon="code" href="https://reference-server.pipecat.ai/en/latest/api/pipecat.serializers.exotel.html">
    Pipecat's API methods for Exotel WebSocket integration
  </Card>

  <Card title="Example Implementation" icon="play" href="https://github.com/pipecat-ai/pipecat-examples/tree/main/exotel-chatbot">
    Complete telephony examples with Exotel
  </Card>

  <Card title="Exotel Documentation" icon="book" href="https://developer.exotel.com/">
    Official Exotel developer documentation
  </Card>

  <Card title="Exotel Console" icon="microphone" href="https://my.exotel.com/">
    Manage phone numbers and streaming configuration
  </Card>
</CardGroup>

## Installation

The `ExotelFrameSerializer` does not require any additional dependencies beyond the core Pipecat library:

```bash  theme={null}
pip install "pipecat-ai"
```

## Prerequisites

### Exotel Account Setup

Before using ExotelFrameSerializer, you need:

1. **Exotel Account**: Sign up at [Exotel Console](https://my.exotel.com/)
2. **Phone Number**: Purchase an Exotel phone number with voice capabilities
3. **Media Streaming**: Configure your phone number for WebSocket streaming
4. **Webhook Configuration**: Set up webhook endpoints for call handling

### Required Configuration

* **Stream ID**: Provided by Exotel during WebSocket connection
* **Call SID**: Associated Exotel Call SID (optional)

### Key Features

* **Bidirectional Audio**: Convert between Pipecat and Exotel audio formats
* **DTMF Handling**: Process touch-tone events from callers
* **Indian Telephony**: Optimized for Indian voice infrastructure
* **WebSocket Streaming**: Real-time audio streaming via WebSocket protocol