Lingua

ProjectsAgentsModelFactory.TelephonyBinding Method

Definition

A telephony binding owned by a voice agent. Please note this is the abstract base class. The derived classes available for instantiation are: TeamsPhoneExtensionTelephonyBinding and TwilioTelephonyBinding.

public static Azure.AI.Projects.Agents.TelephonyBinding TelephonyBinding(string id = default, string provider = default, string connectionName = default, string label = default, Azure.AI.Projects.Agents.TelephonyBindingStatus status = default, Uri incomingCallUrl = default);
static member TelephonyBinding : string * string * string * string * Azure.AI.Projects.Agents.TelephonyBindingStatus * Uri -> Azure.AI.Projects.Agents.TelephonyBinding
Public Shared Function TelephonyBinding (Optional id As String = Nothing, Optional provider As String = Nothing, Optional connectionName As String = Nothing, Optional label As String = Nothing, Optional status As TelephonyBindingStatus = Nothing, Optional incomingCallUrl As Uri = Nothing) As TelephonyBinding

Parameters

id
String

The service-generated binding identifier.

provider
String

The telephony provider.

connectionName
String

The Foundry connection name for the telephony provider.

label
String

The optional display label for the binding.

status
TelephonyBindingStatus

The lifecycle status.

incomingCallUrl
Uri

The service-generated webhook URL to configure with the telephony provider.

Returns

A new TelephonyBinding instance for mocking.

Applies to