Language

TelephonyCallRecord Class

Definition

Detailed diagnostics for a durable inbound call to a voice agent.

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

Properties

Name Description
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 the call as answered.

CallerNumber

The caller's phone number, when supplied by the provider.

DurationMs

The call duration.

EndedOn

The Unix timestamp (in seconds) for when the call ended.

EndReason

The service-generated reason that this single call ended, rather than the outcome of an overall outbound call job. Additional string codes may be returned.

Events

The lifecycle timeline.

EventsTruncated

Whether older lifecycle events were omitted from the timeline.

Id

The service-generated call identifier.

MediaConnectedOn

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

Phase

The provider-neutral lifecycle phase reached by the call.

Provider

The telephony provider.

ProviderCallId

The provider-assigned call identifier, when available.

ProviderMessage

The provider message associated with the terminal result.

ProviderNumber

The Teams Phone Extension or Twilio number that received the call.

ProviderStatusCode

The provider status code associated with the terminal result.

ProviderSubCode

The provider subcode associated with the terminal result.

StartedOn

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

Status

The lifecycle status of the call.

Timing

Detailed provider-neutral call timing.

Trace

Correlation to the customer-facing Foundry trace.

Methods

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

Operators

Name Description
Explicit(ClientResult to TelephonyCallRecord)

Explicit Interface Implementations

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

Applies to