Voice + Conference Insights Event Streams
Event Streams
Don't get us wrong, REST APIs are great; however, at scale and across potentially dozens of endpoints for a given application to interact with, the venerable HTTP REST API starts to show its age a little bit. Event Streams is an API that allows you to tap into a unified stream of every Voice Insights and Conference Insights event and have it piped directly into your data infrastructure using modern technologies like Amazon Kinesis. For more information about Event Streams, see our docs.
Voice Insights Events
There are seven Voice Insights Events which can be subscribed to via Event Streams.
Event | Description |
com.twilio.voice.insights.call-event.gateway |
Gateway events are generated by call progress events. Events are typically emitted by Voice Insights within 90 seconds. |
com.twilio.voice.insights.call-event.sdk |
SDK events are generated by Voice SDK events. Events are typically emitted by Voice Insights within 90 seconds. |
com.twilio.voice.insights.call-metrics.gateway |
Gateway metrics are generated every ten seconds by sensors in Twilio's media gateways. Metrics are typically emitted by Voice Insights within 90 seconds. |
com.twilio.voice.insights.call-metrics.sdk |
SDK metrics are emitted every ten seconds by sensors in Twilio's Voice SDKs. Metrics are typically emitted by Voice Insights within 90 seconds. |
com.twilio.voice.insights.call-summary.complete |
The Call Summary provides an overview of metadata and quality metrics for a single call. A completed call summary may take up to thirty minutes to generate following the end of the call. |
com.twilio.voice.insights.call-summary.partial |
A partial summary contains a partial set of the data that comprises the Call Summary. Multiple partial summary events will occur as the Call Summary is assembled. The first partial summary will be available within ten minutes of a call ending |
com.twilio.voice.insights.call-summary.predicted-complete |
The completed Call Summary event is based on a thirty minute timer. Twilio uses ML to predict when a Call Summary is actually completed and emits the predicted-complete event based on the analysis of that model. The predicted complete event is typically available within ten minutes of a call ending. |
Conference Insights Events
There are three Conference Insights Events that can be subscribed to via Event Streams.
Event | Description |
com.twilio.voice.insights.participant-summary.complete |
Contains the full set of Participant Summary Resource details. Emitted with the participant-leave event. Conference Insights is currently in public beta and does not have SLAs. |
com.twilio.voice.insights.conference-summary.complete |
Contains the full set of Conference Summary Resource details. Emitted with the conference-end event. Conference Insights is currently in public beta and does not have SLAs. |
|
Contains a partial set of Conference Summary Resource details. Emitted with the conference-start event. Conference Insights is currently in public beta and does not have SLAs. |
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.