Call Events Resource
Get Call Events
The call events resource provides programmatic access to call progress and SDK events for a provided call SID. Call events are generated by call progress events and Voice SDK events. Events are typically available via the API within 90 seconds.
|Edge||carrier_edge, client_edge, sdk_edge, sip_edge|
If no Edge parameter is provided, the results will depend on the call type:
|Call Type||Default Edge||Additional Edge|
See Understanding Twilio Media Edges for more information.
Call events are represented by the following properties:
|account_sid||The account SID this call belongs to|
|call_sid||Call SID for the call the events are associated with|
|carrier_edge||Represents the connection between Twilio and our immediate carrier partners. The events here describe the call lifecycle as reported by Twilio's carrier media gateways.|
|client_edge||Represents the Twilio media gateway for Client calls. The events here describe the call lifecycle as reported by Twilio's Voice SDK media gateways.|
|edge||The edge reporting the event|
|sdk_edge||Represents the Voice SDK running locally in the browser or in the Android/iOS application. The events here are emitted by the Voice SDK in response to certain call progress events, network changes, or call quality conditions.|
|sip_edge||Represents the Twilio media gateway for SIP interface and SIP trunking calls. The events here describe the call lifecycle as reported by Twilio's public media gateways.|
NOTE: Voice Insights for mobile SDKs is supported for versions 3.x and later. Calls placed using 2.x mobile SDKs are not supported and details are provided as-is and may not be reliable indicators of actual behavior on the handset.
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.