Edit

Share via


SipMessageData Class

Definition

Captures information in a SIP message (request or response). It gives access to information that is common to request or response.

public ref class SipMessageData abstract
[Serializable]
public abstract class SipMessageData
type SipMessageData = class
Public MustInherit Class SipMessageData
Inheritance
SipMessageData
Derived
Attributes
SerializableAttribute

Constructors

SipMessageData()

A default object to represent no response

SipMessageData(SerializationInfo, StreamingContext)

Initialize the message and add serialization data on it

Properties

CallId

Gets the call id header value from the message. This property can return empty string if call id value is not available.

ContentType

Gets the content type.

CSeq

Gets the sequence number of the response.

FromHeader

Gets the "From" header of the message.

RequestUri

Gets the request URI.

SignalingHeaders

Gets the signaling headers in the response.

ToHeader

Gets the "To" header of the message.

UserAgent

Gets the user agent of the message. This is retrieved either from User-Agent or Server header.

Methods

GetMessageBody()

Gets the message body.

GetMessageBodyString()

Gets the message body as string.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the object.

Applies to