This repository contains examples of voice bots that integrate with Plivo's Voice API using Pipecat. The examples demonstrate both inbound and outbound calling scenarios using Plivo's WebSocket streaming for real-time audio processing.
Demonstrates how to handle incoming phone calls where users call your Plivo number and interact with a voice bot.
Shows how to initiate outbound phone calls programmatically where your bot calls users.
Both examples use the same core architecture:
Phone Call ↔ Plivo ↔ WebSocket Stream ↔ Pipecat ↔ AI Services
Components:
- Plivo: Handles phone call routing and audio transport
- WebSocket Stream: Real-time bidirectional audio streaming
- Pipecat: Audio processing pipeline and AI service orchestration
- AI Services: OpenAI (LLM), Deepgram (STT), Cartesia (TTS)
- Detailed Setup: See individual README files in
inbound/andoutbound/directories - Pipecat Documentation: docs.pipecat.ai
- Plivo Documentation: plivo.com/docs