NAME
Twilio::Rest::Insights::V1::Call::Event - The Event resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $event ($client->insights->v1->calls($call_sid)->events->read({}, 20)) {
...
}
DESCRIPTION
This file holds EventList, EventPage and EventInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
EventList
Returned by $client->insights->v1->calls($call_sid)->events. See also Twilio::ListResource.
read
my @records = $client->insights->v1->calls($call_sid)->events->read(\%options, $limit, $page_size);
Get a list of Call Insight Events for a Call. Returns the records as a list, fetching as many pages as it needs.
The options are:
edge-
The Edge of this Event. One of
unknown_edge,carrier_edge,sip_edge,sdk_edgeorclient_edge. One ofunknown_edge,carrier_edge,sip_edge,sdk_edgeorclient_edge.
stream
my $stream = $client->insights->v1->calls($call_sid)->events->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->insights->v1->calls($call_sid)->events->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->insights->v1->calls($call_sid)->events->get_page($url);
Fetches the page at a URL given by Twilio.
EventPage
A Twilio::Page of EventInstance objects.
records_key
build_instance
Used by Twilio::Page.
EventInstance
See also Twilio::InstanceResource.
Its fields are:
- account_sid
-
The unique SID identifier of the Account.
- call_sid
-
The unique SID identifier of the Call.
- carrier_edge
-
objectRepresents the connection between Twilio and our immediate carrier partners. The events here describe the call lifecycle as reported by Twilio's carrier media gateways. See Details: Call Summary for the object properties. - client_edge
-
objectRepresents the Twilio media gateway for Client calls. The events here describe the call lifecycle as reported by Twilio's Voice SDK media gateways. See Details: Call Summary for the object properties. - conversation_relay_data
-
Contains information about the Conversation Relay (CRelay) connection used in calls.
- edge
-
The Edge of this Event. One of
unknown_edge,carrier_edge,sip_edge,sdk_edgeorclient_edge. One ofunknown_edge,carrier_edge,sip_edge,sdk_edgeorclient_edge. - group
-
Event group.
- level
-
The Level of this Event. One of
UNKNOWN,DEBUG,INFO,WARNINGorERROR. One ofUNKNOWN,DEBUG,INFO,WARNINGorERROR. - name
-
Event name.
- sdk_edge
-
objectRepresents 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. See Details: Call Summary for the object properties. - sip_edge
-
objectRepresents 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. See Details: Call Summary for the object properties. - timestamp
-
Event time.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.