Events
Table of contents
Description
Events in the system necessarily contain fields:
class
– event class. Type: string. For example: callevents.
type
– event type. Type: string. For example: invite, dlg_start.
data
– the body of the event.
eventts
– time of event generation, number of seconds elapsed since 01.01.1970. Type: integer. For example: 1530706554531.
domain
– contained only in events sent to the broker KAFKA.
Destination types
broker
– sending messages to internal consumers in the system queue.
cdr
– dispatch to the assembly service cdr.
kafka
– sending messages to an external broker KAFKA.
svcscript
– sending the event to the context processing service script.
wssubscr
– sending events to subscribers via webserver (websocket).