v2.call.inbound.ended

Triggered when an Inbound Call ends on your account

{
  "id": "a03317440280451052hUD7yPiwWrzgGB",
  "at": "2024-04-24T17:42:28Z",
  "sid": "callrsid",
  "type": "v2.call.inbound.ended",
  "try": 0,
  "payload": {
    "direction": "inbound",
    "callid": 240711945874,
    "callerName": "John Doe",
    "callerNumber": "+33199001234",
    "callerRestricted": false,
    "callee": "+33199001234",
    "started": "2024-04-24T17:42:28.876Z",
    "answered": "2024-04-24T17:42:29.123Z",
    "ended": "2024-04-24T17:42:39.555Z",
    "status": "answered",
    "hangupSource": "caller",
    "hangupCause": 16,
    "hangupTech": "sip:200",
    "durationTotal": 12,
    "durationAnswered": 11,
    "durationBilled": 60,
    "billingDestinationLabel": "France - Geographic",
    "billingDestinationID": 42,
    "billingDebit": "5.50",
    "billingCredit": "0.00",
    "billingPaymentType": "prepaid",
    "scenarioSid": "callrsid",
    "scenarioName": "My Call Flow",
    "scenarioTypeName": "Actions",
    "scenarioTypeVersion": "1.0"
  }
}