Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 1.73 KB

File metadata and controls

48 lines (42 loc) · 1.73 KB

Zernio::WebhookPayloadCallEndedCall

Properties

Name Type Description Notes
id String [optional]
meta_call_id String [optional]
account_id String [optional]
phone_number_id String [optional]
direction String [optional]
from String [optional]
to String [optional]
started_at Time [optional]
ended_at Time [optional]
duration_seconds Integer [optional]
end_reason String [optional]
hangup_cause String Raw carrier hangup cause behind endReason (e.g. normal_clearing, call_rejected, not_found). Null when the carrier reported none. [optional]
sip_hangup_cause String SIP response code that ended the call when SIP-signalled (e.g. '403', '486', '603'). endReason collapses all three to 'rejected', so this is what separates a refused destination from a busy line. Null on non-SIP legs. [optional]
recording_url String [optional]
recording_expires_at Time [optional]
billing WebhookPayloadCallEndedCallBilling [optional]

Example

require 'zernio-sdk'

instance = Zernio::WebhookPayloadCallEndedCall.new(
  id: null,
  meta_call_id: null,
  account_id: null,
  phone_number_id: null,
  direction: null,
  from: null,
  to: null,
  started_at: null,
  ended_at: null,
  duration_seconds: null,
  end_reason: null,
  hangup_cause: null,
  sip_hangup_cause: null,
  recording_url: null,
  recording_expires_at: null,
  billing: null
)