Latest Legacy

Response examples

Response attributes

api_idstring

Identifies the request.

errorstring

Indicates an error and provides information regarding the error.

messagestring

Provides information regarding the request.

Response

Success

{
  "call_uuid": "90b6eb07-796c-4d86-a4fd-44ed11667ddb",
  "from_number": "+912235328936",
  "to_number": "+919943720205",
  "call_direction": "outbound",
  "call_duration": 4,
  "bill_duration": 4,
  "end_time": "2022-12-06 07:02:00",
  "hangup_cause_name": "normal_hangup",
  "hangup_source": "carrier",
  "total_rate": "0.03000",
  "total_amount": "0.00200",
  "initiation_time": "2022-12-06 07:01:48",
  "answer_time": "2022-12-06 07:01:56",
  "trunk_domain": "93667062664669661.ap-south-1.zt.plivo.com",
  "from_country": "IN",
  "to_country": "IN",
  "transport_protocol": "udp",
  "srtp": false,
  "hangup_cause_code": 3000,
  "secure_trunking": false,
  "secure_trunking_rate": "0.00000",
  "stir_verification": "not applicable",
  "attestation_indicator": "null"
}

Error

{
    "app_id": "73bbb0ff-01b9-4fc5-b978-9404da41297d",
    "status": "error",
    "error": "filtering not allowed on srtp"
}