Skip to content

Update telephony guide #261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions guides/telephony/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,21 @@ You can dial-in to your Pipecat bots, and have them dial-out too, across both PS

## Which transport should I use?

This really depends on your project. We have examples that cover both WebRTC (Daily) and Twilio (WebSockets).
This really depends on your project. We have examples that cover both WebRTC (Daily) and Twilio (WebSockets), and Pipecat supports multiple different types of media transport: local, WebSockets, WebRTC etc.

Pipecat supports multiple different types of media transport: local, WebSockets, WebRTC etc. Given the end-user will very likely be using a mobile device with varying network conditions, we strongly recommend using a WebRTC transport for production-ready experiences. Another advantage of using a WebRTC provider is that they will very likely abstract some of the complexity for handling PSTN and SIP, such as forwarding calls etc.
- Use Pipecat's native Twilio WebSockets integration for simple workflows that are only telephony-based.

- The call is managed by Twilio (or similar telephony provider), which means that the bot is not able to perform any form of complex call control. Typically Twilio-specific APIs need to be implemented (for example, when you’re already using Twilio Studio, Twilio Flex, etc).
- We strongly recommend against using WebSockets for non-telephony use cases (mobile apps, web browsers, etc.). See below.

- You must use SIP for use cases like the below. These require SIP-based call control:

- Multi-agents or multi-party calls
- Connect to legacy call centers powered by open source or cloud
- Forwarding calls, agent assist/co-pilot, warm transfers, etc.
- Supporting different telephony vendors without having telephony platform-specific code

- We strongly recommend using WebRTC for non telephony use cases — ie, mobile apps, web-based experiences. WebRTC is designed to support users on devices with varying network conditions at scale. Learn more in the Voice AI & Voice Agents Illustrated Primer [here](https://voiceaiandvoiceagents.com/#websockets-webrtc)

<Note>
**Please note:** you can configure your Pipecat bots to handle multiple
Expand Down