TelephonyCallLifecycleEvent interface

A bounded durable observation in the lifecycle of one telephony call.

Properties

name

The stable provider-neutral event name.

observed_at

The Unix timestamp (in seconds) for when the service observed the event.

occurred_at

The Unix timestamp (in seconds) for when the event occurred according to the provider.

outcome

The outcome of the observed lifecycle operation.

provider_event_id

The provider event identifier used for idempotency, when supplied.

provider_sequence

The provider event sequence, when supplied.

provider_status_code

The provider status code associated with the event.

provider_sub_code

The provider subcode associated with the event.

reason

A stable service-generated reason associated with this lifecycle event, not necessarily the final outcome of the call. Additional string codes may be returned.

sequence

The service-assigned order of the event within the call record.

source

The component that supplied the observation.

timestamp_source

The source of the event timestamp.

Property Details

name

The stable provider-neutral event name.

name: TelephonyCallLifecycleEventName

Property Value

observed_at

The Unix timestamp (in seconds) for when the service observed the event.

observed_at: Date

Property Value

Date

occurred_at

The Unix timestamp (in seconds) for when the event occurred according to the provider.

occurred_at?: Date

Property Value

Date

outcome

The outcome of the observed lifecycle operation.

outcome: TelephonyCallLifecycleEventOutcome

Property Value

provider_event_id

The provider event identifier used for idempotency, when supplied.

provider_event_id?: string

Property Value

string

provider_sequence

The provider event sequence, when supplied.

provider_sequence?: number

Property Value

number

provider_status_code

The provider status code associated with the event.

provider_status_code?: number

Property Value

number

provider_sub_code

The provider subcode associated with the event.

provider_sub_code?: number

Property Value

number

reason

A stable service-generated reason associated with this lifecycle event, not necessarily the final outcome of the call. Additional string codes may be returned.

reason?: string

Property Value

string

sequence

The service-assigned order of the event within the call record.

sequence: number

Property Value

number

source

The component that supplied the observation.

source: TelephonyCallLifecycleEventSource

Property Value

timestamp_source

The source of the event timestamp.

timestamp_source: TelephonyCallTimestampSource

Property Value