Edit

Share via


CallTransferReceivedEventArgs.Accept Method

Definition

Accepts the incoming transfer.

public:
 Microsoft::Rtc::Collaboration::Call ^ Accept(System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ headers);
public Microsoft.Rtc.Collaboration.Call Accept (System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> headers);
member this.Accept : seq<Microsoft.Rtc.Signaling.SignalingHeader> -> Microsoft.Rtc.Collaboration.Call
Public Function Accept (headers As IEnumerable(Of SignalingHeader)) As Call

Parameters

headers
IEnumerable<SignalingHeader>

The SIP extension headers to add to the response. Can be null.

Returns

The call targeting the destination URI indicated in the transfer.

Exceptions

Thrown when the Endpoint associated with the new transfer call is terminating or terminated or when then underlying transfer transaction is no longer valid.

Thrown when the call is unable to send successful response to the transferor.

Remarks

The call returned by the Accept method is contained in the new Conversation exposed on the event arguments.

Applies to