Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Plivo Voice Bot Examples

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.

Examples

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.

Architecture

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)

Getting Help

  • Detailed Setup: See individual README files in inbound/ and outbound/ directories
  • Pipecat Documentation: docs.pipecat.ai
  • Plivo Documentation: plivo.com/docs