WSI: Pub/Sub
Last updated
Was this helpful?
PortSIP PBX provides a Publish/Subscribe (Pub/Sub) mechanism over WebSocket, known as PortSIP WSI. This mechanism allows applications written in any programming language to subscribe to PBX events.
When a subscribed event occurs, PortSIP PBX automatically pushes event notifications to the client in JSON format, enabling real-time, event-driven integrations without polling.
PortSIP PBX v16.0 or later
PortSIP PBX (including UCaaS deployments) exposes the WSI service using secure WebSocket (WSS):
Port: 8887
Protocol: WSS (WebSocket over TLS)
Firewall Requirement: The server firewall must allow TCP traffic on port 8887.
The WSI server URL depends on the PortSIP PBX version:
v22.0 or later
wss://pbx.portsip.com:8887/wsiv16.x
wss://pbx.portsip.com:8885Note: Replace
pbx.portsip.comwith your actual PBX domain or IP address when configuring your WebSocket client.
Last updated
Was this helpful?
Was this helpful?