InvitationAcceptedEventArgs Class

Definition

Represents the class used when InvitationAccepted event is raised. This gives access to the headers in the response in addition to informing the application that the invitation has been accepted. The headers exposed in this event are the same as the one returned when the application calls the EndEnter methods to fetch headers. If the application registers for this event, it is responsible for sending the acknowledgement in a timely manner. If the application does not send Ack, the platform will send it when the application returns from this event.

public ref class InvitationAcceptedEventArgs : Microsoft::Rtc::Signaling::SipResponseReceivedEventArgs
public class InvitationAcceptedEventArgs : Microsoft.Rtc.Signaling.SipResponseReceivedEventArgs
type InvitationAcceptedEventArgs = class
    inherit SipResponseReceivedEventArgs
Public Class InvitationAcceptedEventArgs
Inherits SipResponseReceivedEventArgs
Inheritance
InvitationAcceptedEventArgs

Properties

DelayAck

Gets or sets the value to indicate whether the ack should be delayed. If delayed, the application is responsible for sending the acknowledgement later.

DialogContext

Gets the dialog context that was accepted.

IsNullOriginalOffer

Gets the flag indicating if the original offer was null or not. If the original offer was null, the application cannot send Acknowledgement using this event argument.

ResponseData

Gets the response data for the event.

(Inherited from SipResponseReceivedEventArgs)

Methods

SendAcknowledgement(IEnumerable<SignalingHeader>)

Sends an acknowledgement for the remote that just accepted the invitation. The acknowledgement should be sent as soon as possible to avoid the remote from timing out the invitation. This method does not wait for the acknowledgement to be actually sent on the wire. The application should use the invite operation for this purpose.

Applies to