Language

TelephonyCallTiming Class

Definition

Detailed provider-neutral timing for an inbound telephony call.

public class TelephonyCallTiming : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.TelephonyCallTiming>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.TelephonyCallTiming>
type TelephonyCallTiming = class
    interface IJsonModel<TelephonyCallTiming>
    interface IPersistableModel<TelephonyCallTiming>
Public Class TelephonyCallTiming
Implements IJsonModel(Of TelephonyCallTiming), IPersistableModel(Of TelephonyCallTiming)
Inheritance
TelephonyCallTiming
Implements

Properties

Name Description
AdmittedOn

The Unix timestamp (in seconds) for when the call was admitted to an agent binding.

AgentSessionReadyOn

The Unix timestamp (in seconds) for when the voice-agent session became ready.

AnsweredOn

The Unix timestamp (in seconds) for when the provider reported that the call was answered.

AnswerRequestedOn

The Unix timestamp (in seconds) for when the service requested that the provider answer the call.

DurationBasis

The timestamp used as the basis for duration.

EndedOn

The Unix timestamp (in seconds) for when the call reached a terminal state.

FirstAgentAudioOn

The Unix timestamp (in seconds) for when agent audio was first observed.

FirstCallerAudioOn

The Unix timestamp (in seconds) for when caller audio was first observed.

MediaConnectedOn

The Unix timestamp (in seconds) for when the provider media channel connected.

ReceivedOn

The Unix timestamp (in seconds) for when the provider webhook was received.

TimestampSource

The primary source of the timing milestones. Individual lifecycle events identify their own timestamp source separately.

ValidatedOn

The Unix timestamp (in seconds) for when webhook validation completed.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<TelephonyCallTiming>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<TelephonyCallTiming>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<TelephonyCallTiming>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<TelephonyCallTiming>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<TelephonyCallTiming>.Write(ModelReaderWriterOptions)

Applies to