Lingua

ProjectsAgentsModelFactory.TelephonyCallTrace Method

Definition

Correlation from a durable telephony call record to its customer-facing Foundry trace.

public static Azure.AI.Projects.Agents.TelephonyCallTrace TelephonyCallTrace(Azure.AI.Projects.Agents.TelephonyCallTraceStatus status = default, string traceId = default, string rootSpanId = default, string conversationId = default, Azure.AI.Projects.Agents.TelephonyCallTraceMode? mode = default);
static member TelephonyCallTrace : Azure.AI.Projects.Agents.TelephonyCallTraceStatus * string * string * string * Nullable<Azure.AI.Projects.Agents.TelephonyCallTraceMode> -> Azure.AI.Projects.Agents.TelephonyCallTrace
Public Shared Function TelephonyCallTrace (Optional status As TelephonyCallTraceStatus = Nothing, Optional traceId As String = Nothing, Optional rootSpanId As String = Nothing, Optional conversationId As String = Nothing, Optional mode As Nullable(Of TelephonyCallTraceMode) = Nothing) As TelephonyCallTrace

Parameters

status
TelephonyCallTraceStatus

The trace availability status.

traceId
String

The W3C trace identifier, when a trace was recorded.

rootSpanId
String

The root span identifier, when a trace was recorded.

conversationId
String

The voice-agent conversation identifier, when a conversation was created.

mode
Nullable<TelephonyCallTraceMode>

Whether the trace was emitted live or after the call ended.

Returns

A new TelephonyCallTrace instance for mocking.

Applies to