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.

Installation

The ExotelFrameSerializer does not require any additional dependencies beyond the core Pipecat library:
pip install "pipecat-ai"

Prerequisites

Exotel Account Setup

Before using ExotelFrameSerializer, you need:
  1. Exotel Account: Sign up at Exotel Console
  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