Partager via


CallAutomationModelFactory.CallConnectionProperties Method

Definition

Overloads

CallConnectionProperties(String, String, IEnumerable<CommunicationIdentifier>, CallConnectionState, Uri, CommunicationIdentifier, PhoneNumberIdentifier, String, CommunicationIdentifier)

Initializes a new instance of CallConnectionProperties.

CallConnectionProperties(String, String, IEnumerable<CommunicationIdentifier>, CallConnectionState, Uri, CommunicationIdentifier, PhoneNumberIdentifier, String, CommunicationUserIdentifier, MediaStreamingSubscription, TranscriptionSubscription, PhoneNumberIdentifier)

Initializes a new instance of CallConnectionProperties.

CallConnectionProperties(String, String, IEnumerable<CommunicationIdentifier>, CallConnectionState, Uri, CommunicationIdentifier, PhoneNumberIdentifier, String, CommunicationIdentifier)

Source:
CallAutomationModelFactory.cs

Initializes a new instance of CallConnectionProperties.

public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties (string callConnectionId = default, string serverCallId = default, System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targets = default, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default, Uri callbackUri = default, Azure.Communication.CommunicationIdentifier sourceIdentity = default, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = default, string sourceDisplayName = default, Azure.Communication.CommunicationIdentifier answeredBy = default);
static member CallConnectionProperties : string * string * seq<Azure.Communication.CommunicationIdentifier> * Azure.Communication.CallAutomation.CallConnectionState * Uri * Azure.Communication.CommunicationIdentifier * Azure.Communication.PhoneNumberIdentifier * string * Azure.Communication.CommunicationIdentifier -> Azure.Communication.CallAutomation.CallConnectionProperties
Public Shared Function CallConnectionProperties (Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional targets As IEnumerable(Of CommunicationIdentifier) = Nothing, Optional callConnectionState As CallConnectionState = Nothing, Optional callbackUri As Uri = Nothing, Optional sourceIdentity As CommunicationIdentifier = Nothing, Optional sourceCallerIdNumber As PhoneNumberIdentifier = Nothing, Optional sourceDisplayName As String = Nothing, Optional answeredBy As CommunicationIdentifier = Nothing) As CallConnectionProperties

Parameters

callConnectionId
String

The call connection id.

serverCallId
String

The server call id.

targets
IEnumerable<CommunicationIdentifier>

The targets of the call.

callConnectionState
CallConnectionState

The state of the call connection.

callbackUri
Uri

The callback URI.

sourceIdentity
CommunicationIdentifier

Source identity.

sourceCallerIdNumber
PhoneNumberIdentifier

Caller ID phone number to appear on the invitee.

sourceDisplayName
String

Display name to appear on the invitee.

answeredBy
CommunicationIdentifier

AnsweredBy identity.

Returns

A new CallConnectionProperties instance for mocking.

Applies to

CallConnectionProperties(String, String, IEnumerable<CommunicationIdentifier>, CallConnectionState, Uri, CommunicationIdentifier, PhoneNumberIdentifier, String, CommunicationUserIdentifier, MediaStreamingSubscription, TranscriptionSubscription, PhoneNumberIdentifier)

Source:
CallAutomationModelFactory.cs

Initializes a new instance of CallConnectionProperties.

public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties (string callConnectionId = default, string serverCallId = default, System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targets = default, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default, Uri callbackUri = default, Azure.Communication.CommunicationIdentifier sourceIdentity = default, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = default, string sourceDisplayName = default, Azure.Communication.CommunicationUserIdentifier answeredBy = default, Azure.Communication.CallAutomation.MediaStreamingSubscription mediaStreamingSubscription = default, Azure.Communication.CallAutomation.TranscriptionSubscription transcriptionSubscription = default, Azure.Communication.PhoneNumberIdentifier answeredFor = default);
static member CallConnectionProperties : string * string * seq<Azure.Communication.CommunicationIdentifier> * Azure.Communication.CallAutomation.CallConnectionState * Uri * Azure.Communication.CommunicationIdentifier * Azure.Communication.PhoneNumberIdentifier * string * Azure.Communication.CommunicationUserIdentifier * Azure.Communication.CallAutomation.MediaStreamingSubscription * Azure.Communication.CallAutomation.TranscriptionSubscription * Azure.Communication.PhoneNumberIdentifier -> Azure.Communication.CallAutomation.CallConnectionProperties
Public Shared Function CallConnectionProperties (Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional targets As IEnumerable(Of CommunicationIdentifier) = Nothing, Optional callConnectionState As CallConnectionState = Nothing, Optional callbackUri As Uri = Nothing, Optional sourceIdentity As CommunicationIdentifier = Nothing, Optional sourceCallerIdNumber As PhoneNumberIdentifier = Nothing, Optional sourceDisplayName As String = Nothing, Optional answeredBy As CommunicationUserIdentifier = Nothing, Optional mediaStreamingSubscription As MediaStreamingSubscription = Nothing, Optional transcriptionSubscription As TranscriptionSubscription = Nothing, Optional answeredFor As PhoneNumberIdentifier = Nothing) As CallConnectionProperties

Parameters

callConnectionId
String

The call connection id.

serverCallId
String

The server call id.

targets
IEnumerable<CommunicationIdentifier>

The targets of the call.

callConnectionState
CallConnectionState

The state of the call connection.

callbackUri
Uri

The callback URI.

sourceIdentity
CommunicationIdentifier

Source identity.

sourceCallerIdNumber
PhoneNumberIdentifier

Caller ID phone number to appear on the invitee.

sourceDisplayName
String

Display name to appear on the invitee.

answeredBy
CommunicationUserIdentifier

Identifier that answered the call.

mediaStreamingSubscription
MediaStreamingSubscription

The subscription details for Media Streaming.

transcriptionSubscription
TranscriptionSubscription

The subscription details for transcription.

answeredFor
PhoneNumberIdentifier

Identity of the original Pstn target of an incoming Call.

Returns

A new CallConnectionProperties instance for mocking.

Applies to