Connection
Handshake sequence
After WebSocket connection, the dialler must send exactly three events in order:1. connected
2. start
3. answer
Audio streaming
Dialler → VoxCore: media
| Property | Value |
|---|---|
| Encoding | LINEAR16 (signed 16-bit PCM) |
| Sample rate | 8,000 Hz |
| Channels | Mono |
| Payload encoding | Base64 |
VoxCore → Dialler: reverse-media
Control events
Dialler → VoxCore
hangup-call
Sent when the customer or network disconnects.
VoxCore → Dialler
reverse-media-stop
Clears the dialler’s audio playback buffer. Always sent before hangup.
reverse-hangup-call
Drops the call. Sent after reverse-media-stop.