'subscr' capability for WebSocket User API
Overview
The module is used to subscribe to system events.
The following categories of events are distinguished:
-
Events about changes in the data model - both static and dynamic (modelevents.data_changed).
-
Telephony events (callevents).
-
Telephony events for the needs of the CC (ccsevents).
-
Scenario Events IVR (ivrevents).
Notifications are also possible for project events generated in scenarios.
Subscribing to modelevents.data_changed
events requires the integration_point (webservice) entity, through whose token the connection is made, to have a role with access to the /ws#subscr
route with the method WEBSOCKET
.
And also requires binding to a user who has role permission for the operation of reading an entity from a collection in the REST-API.
-
Content is similar WebSocket User API.