- Created by Dmytro Lavraniuk, last modified on 2026-10-16
| Ticket Number | PMD-3930 (FR ???) |
|---|---|
| Project Goal | Expose an open, low-latency WebSocket interface that delivers the live audio of an in-progress call to a partner-specified wss:// endpoint — listen-only for real-time transcription, live captions and in-call compliance, or bidirectional so a partner's automated voice agent can converse with the caller, with barge-in and end-of-speech signalling for natural turn-taking. |
| Why this project exists ? | Live call audio is currently unreachable to third parties:
Meanwhile WebSocket media streaming is the established interface across the voice API market (Twilio, Vonage, Telnyx, Plivo, SignalWire) so partners wanting real-time voice AI build on a competing CPaaS and leave PortaSwitch doing billing only. |
| Who are the users / whom we bring value ? |
|
| What are the benefits for CSP/ PortaSwitch owner? | One platform capability serves three separate wishlist items — live captions (WSHLST-74), sentiment analysis (WSHLST-75) and AI call qualification (WSHLST-203). Keeps AI application development, and its recurring revenue, on the platform rather than on a competing CPaaS. Opens an Add-on Mart category for conversational AI, transcription and real-time analytics with revenue share. Interruption-capable real-time voice is a primary differentiator in competitive UCaaS displacement. Meets accessibility legislation (ADA, EN 301 549, Equality Act) through listen-only streaming alone. Extends compliance from post-call review to in-call intervention. |
| Target Release | N/A |
| Area | PortaSIP |
Specifications
Definitions, acronyms and abbreviations
| Abbreviation | Description |
|---|---|
| CSP | Communication Service Provider |
| ISV | Independent Software Vendor — a company selling its own software product, here one built on top of PortaSwitch |
| ITSP | Internet Telephony Service Provider — a provider delivering voice services over IP (SIP trunking, hosted PBX, VoIP lines) |
| CPaaS | Communications Platform as a Service — e.g. Twilio, Vonage, Telnyx, Plivo, SignalWire |
| UCaaS | Unified Communications as a Service |
| CTI | Computer-Telephony Integration — programmatic call control from an external application |
| STT | Speech-to-Text (speech recognition) |
| TTS | Text-to-Speech (speech synthesis) |
| RTP | Real-time Transport Protocol — carries the media of a SIP call |
| SIPREC | SIP Recording — standard protocol for network-side media forking |
| CLI / CLD | Calling Line Identification (caller number) / Called Number |
| DID | Direct Inward Dialling number |
| ACL | Access Control List — controls which users may see or edit a feature |
| WSS | WebSocket Secure — WebSocket over TLS |
| Barge-in | The caller speaking over playing audio; the agent's playback is stopped immediately so it does not talk over the caller |
| Media forking | Duplicating a live call's media to a second destination without affecting the call |
References
- API for computer-telephony integration services — the existing WebSocket call control API, establishing that a control channel exists but carries no media.
- Call recording — the current post-call audio path (RTP to disk, conversion after the call,
NewCallRecordingIsAvailableevent). - What's new in MR130 — Voice AI Agent (Apifonica), the existing single-vendor real-time module.
- https://docs.x.ai/developers/model-capabilities/audio/speech-to-speech