Latest

Call Insights API Specs

This method lets you retrieve call insights for a call.

API Endpoint

URL https://api.plivo.com/v1/Account/{Auth id}/Zentrunk/Call/{call ID}/Insights

Response Descriptions

Name Description Example value
api_id

Unique api request identifier

<UUID>

call_uuid

Unique call Identifier

<UUID>

rtt

Round trip time is the time taken for data to travel to a target destination and back, in milliseconds. A high RTT indicates poor network quality and can result in audio lag.

7

packet_loss

Loss of voice packets over transmission, as a percentage of overall packet count in the stream. Packet loss can cause broken audio.

2

jitter

The variance in delay of voice packet transmissions, measured in milliseconds. Jitter can impact voice quality, causing robotic-sounding audio.

7

post_dial_delay

Length of the interval between when the call was initiated and ringing began, in milliseconds.

12

hungup_source

who hung up the call. caller/callee

plivo

hungup_cause

cause of hung up

end of xml instructions

from.number

The caller ID using which the call was initiated.

12025551111

from.carrier

The caller carrier using which the call was initiated.

Airtel

from.region

The caller region where the call was initiated.

IN

to.number

The number to which the call was initiated.

11025551111

to.carrier

The carrier to which the call was initiated.

jio

to.region

The region to which the call was initiated.

IN

plivo_quality_score

Each call is rated between 1 to 5 based on the audio quality stats recorded for the call. A higher score indicates better call quality.

4

Response

{
   "api_id": "a63df7e3-9f24-4aae-2152-dc8f92548290",
   "call_uuid": "c9d6be3d-94c3-4b38-a2eb-8063ca404d77",
   "from": {
       "carrier": "Mahanagar Telephone Nigam Ltd (MTNL), Fixedline Number",
       "number": "+918035735470",
       "region": "IN"
   },
   "hangup_cause": "normal_hangup",
   "hangup_source": "customer",
   "jitter": "3",
   "packet_loss": "0",
   "plivo_quality_score": "4.2",
   "post_dial_delay": 1000.0,
   "rtt": "24508",
   "to": {
       "carrier": "Mahanagar Telephone Nigam Ltd (MTNL), Fixedline Number",
       "number": "+912269947000",
       "region": "IN"
   }
}