C# Class SIPSorcery.SIP.SIPHeader

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
Accept string
AcceptEncoding string
AcceptLanguage string
AlertInfo string
Allow string
AllowEvents string
AuthenticationHeader SIPAuthenticationHeader
AuthenticationInfo string
CRMCompanyName string
CRMPersonName string
CRMPictureURL string
CSeq int
CSeqMethod SIPMethodsEnum
CallId string
CallInfo string
Contact List
ContentDisposition string
ContentEncoding string
ContentLanguage string
ContentLength int
ContentType string
Date string
ETag string
ErrorInfo string
Event string
Expires int
From SIPFromHeader
InReplyTo string
MIMEVersion string
MaxForwards int
MinExpires int
Organization string
Priority string
ProxyReceivedFrom string
ProxyReceivedOn string
ProxyRequire string
ProxySendFrom string
Reason string
RecordRoutes SIPRouteSet
ReferSub string
ReferTo string
ReferredBy string
ReplyTo string
Require string
RetryAfter string
Routes SIPRouteSet
Server string
Subject string
SubscriptionState string
Supported string
SwitchboardLineName string
SwitchboardOriginalCallID string
SwitchboardOwner string
SwitchboardTerminate string
Timestamp string
To SIPToHeader
UnknownHeaders List
Unsupported string
UserAgent string
Vias SIPViaSet
Warning string

Public Methods

Method Description
Copy ( ) : SIPHeader
GetUnknownHeaderValue ( string unknownHeaderName ) : string
ParseSIPHeaders ( string headersCollection ) : SIPHeader
SIPHeader ( ) : NUnit.Framework
SIPHeader ( List contactList, SIPFromHeader from, SIPToHeader to, int cseq, string callId ) : NUnit.Framework
SIPHeader ( SIPContactHeader contact, SIPFromHeader from, SIPToHeader to, int cseq, string callId ) : NUnit.Framework
SIPHeader ( SIPFromHeader from, SIPToHeader to, int cseq, string callId ) : NUnit.Framework
SIPHeader ( string fromHeader, string toHeader, int cseq, string callId ) : NUnit.Framework
SIPHeader ( string fromHeader, string toHeader, string contactHeader, int cseq, string callId ) : NUnit.Framework
SetDateHeader ( ) : void
SplitHeaders ( string message ) : string[]
ToString ( ) : string

Puts the SIP headers together into a string ready for transmission.

Private Methods

Method Description
Initialise ( List contact, SIPFromHeader from, SIPToHeader to, int cseq, string callId ) : void
Validate ( ) : void

Method Details

Copy() public method

public Copy ( ) : SIPHeader
return SIPHeader

GetUnknownHeaderValue() public method

public GetUnknownHeaderValue ( string unknownHeaderName ) : string
unknownHeaderName string
return string

ParseSIPHeaders() public static method

public static ParseSIPHeaders ( string headersCollection ) : SIPHeader
headersCollection string
return SIPHeader

SIPHeader() public method

public SIPHeader ( ) : NUnit.Framework
return NUnit.Framework

SIPHeader() public method

public SIPHeader ( List contactList, SIPFromHeader from, SIPToHeader to, int cseq, string callId ) : NUnit.Framework
contactList List
from SIPFromHeader
to SIPToHeader
cseq int
callId string
return NUnit.Framework

SIPHeader() public method

public SIPHeader ( SIPContactHeader contact, SIPFromHeader from, SIPToHeader to, int cseq, string callId ) : NUnit.Framework
contact SIPContactHeader
from SIPFromHeader
to SIPToHeader
cseq int
callId string
return NUnit.Framework

SIPHeader() public method

public SIPHeader ( SIPFromHeader from, SIPToHeader to, int cseq, string callId ) : NUnit.Framework
from SIPFromHeader
to SIPToHeader
cseq int
callId string
return NUnit.Framework

SIPHeader() public method

public SIPHeader ( string fromHeader, string toHeader, int cseq, string callId ) : NUnit.Framework
fromHeader string
toHeader string
cseq int
callId string
return NUnit.Framework

SIPHeader() public method

public SIPHeader ( string fromHeader, string toHeader, string contactHeader, int cseq, string callId ) : NUnit.Framework
fromHeader string
toHeader string
contactHeader string
cseq int
callId string
return NUnit.Framework

SetDateHeader() public method

public SetDateHeader ( ) : void
return void

SplitHeaders() public static method

public static SplitHeaders ( string message ) : string[]
message string
return string[]

ToString() public method

Puts the SIP headers together into a string ready for transmission.
public ToString ( ) : string
return string

Property Details

Accept public property

public string Accept
return string

AcceptEncoding public property

public string AcceptEncoding
return string

AcceptLanguage public property

public string AcceptLanguage
return string

AlertInfo public property

public string AlertInfo
return string

Allow public property

public string Allow
return string

AllowEvents public property

public string AllowEvents
return string

AuthenticationHeader public property

public SIPAuthenticationHeader,SIPSorcery.SIP AuthenticationHeader
return SIPAuthenticationHeader

AuthenticationInfo public property

public string AuthenticationInfo
return string

CRMCompanyName public property

public string CRMCompanyName
return string

CRMPersonName public property

public string CRMPersonName
return string

CRMPictureURL public property

public string CRMPictureURL
return string

CSeq public property

public int CSeq
return int

CSeqMethod public property

public SIPMethodsEnum CSeqMethod
return SIPMethodsEnum

CallId public property

public string CallId
return string

CallInfo public property

public string CallInfo
return string

Contact public property

public List Contact
return List

ContentDisposition public property

public string ContentDisposition
return string

ContentEncoding public property

public string ContentEncoding
return string

ContentLanguage public property

public string ContentLanguage
return string

ContentLength public property

public int ContentLength
return int

ContentType public property

public string ContentType
return string

Date public property

public string Date
return string

ETag public property

public string ETag
return string

ErrorInfo public property

public string ErrorInfo
return string

Event public property

public string Event
return string

Expires public property

public int Expires
return int

From public property

public SIPFromHeader,SIPSorcery.SIP From
return SIPFromHeader

InReplyTo public property

public string InReplyTo
return string

MIMEVersion public property

public string MIMEVersion
return string

MaxForwards public property

public int MaxForwards
return int

MinExpires public property

public int MinExpires
return int

Organization public property

public string Organization
return string

Priority public property

public string Priority
return string

ProxyReceivedFrom public property

public string ProxyReceivedFrom
return string

ProxyReceivedOn public property

public string ProxyReceivedOn
return string

ProxyRequire public property

public string ProxyRequire
return string

ProxySendFrom public property

public string ProxySendFrom
return string

Reason public property

public string Reason
return string

RecordRoutes public property

public SIPRouteSet,SIPSorcery.SIP RecordRoutes
return SIPRouteSet

ReferSub public property

public string ReferSub
return string

ReferTo public property

public string ReferTo
return string

ReferredBy public property

public string ReferredBy
return string

ReplyTo public property

public string ReplyTo
return string

Require public property

public string Require
return string

RetryAfter public property

public string RetryAfter
return string

Routes public property

public SIPRouteSet,SIPSorcery.SIP Routes
return SIPRouteSet

Server public property

public string Server
return string

Subject public property

public string Subject
return string

SubscriptionState public property

public string SubscriptionState
return string

Supported public property

public string Supported
return string

SwitchboardLineName public property

public string SwitchboardLineName
return string

SwitchboardOriginalCallID public property

public string SwitchboardOriginalCallID
return string

SwitchboardOwner public property

public string SwitchboardOwner
return string

SwitchboardTerminate public property

public string SwitchboardTerminate
return string

Timestamp public property

public string Timestamp
return string

To public property

public SIPToHeader,SIPSorcery.SIP To
return SIPToHeader

UnknownHeaders public property

public List UnknownHeaders
return List

Unsupported public property

public string Unsupported
return string

UserAgent public property

public string UserAgent
return string

Vias public property

public SIPViaSet,SIPSorcery.SIP Vias
return SIPViaSet

Warning public property

public string Warning
return string