Language

CreateTelephonyCallJobContent Constructor

Definition

Initializes a new instance of CreateTelephonyCallJobContent.

public CreateTelephonyCallJobContent(Azure.AI.Projects.Agents.TelephonyOutboundDestination destination, string connectionName, string source);
new Azure.AI.Projects.Agents.CreateTelephonyCallJobContent : Azure.AI.Projects.Agents.TelephonyOutboundDestination * string * string -> Azure.AI.Projects.Agents.CreateTelephonyCallJobContent
Public Sub New (destination As TelephonyOutboundDestination, connectionName As String, source As String)

Parameters

destination
TelephonyOutboundDestination

The phone destination to call.

connectionName
String

The Foundry connection name in the current project used to originate the call. Its category selects Twilio or Azure Communication Services / Teams Phone Extension. No inbound telephony binding is required.

source
String

The caller identity used to originate the call. For a Twilio connection, provide an authorized E.164 phone number. For an Azure Communication Services / Teams Phone Extension connection, provide the Teams Resource Account object ID. The identity type is inferred from the connection category; originating does not change inbound routing.

Exceptions

destination, connectionName or source is null.

Applies to