Voice Streaming API
This API allows to programmatically initiate an outgoing voice stream call, connecting a user's mobile number to a media WebSocket for real-time interaction.
Outgoing Voice Streaming
API Reference
Parameters
Request Headers
Field
Value
Description
Mandatory
Request Body
Field
Data Type
Description
Mandatory
Sample Request
Responses
Success Response
Failure Response

Status Codes
Code
WebSocket Protocol
Connection Architecture
Protocol Flow
1
2
3
4
5
6
7
8
Events
1. Connected [Websocket Client(Alohaa application) → WebSocket Server (Customer application)]
2. Connected [WebSocket Server (Customer application) → Websocket Client(Alohaa application)]
3. Greeting event (Optional)
4. Media (Bidirectional)
6. Client → Server: Close WebSocket Connection

Audio Configuration:
Connection Errors
Code
Interpretation
Limitations and Constraints
Integration Guide
Prerequisites
Integration Steps
1
2
3
4
5
6
7
Code Snippet
Error Handling
Incoming Voice Streaming
Step 1: Create a Voicebot
1

2

3
Step 2: Assign Voicebot to a Number (DID)
1

2
3

4
Last updated