C# Class SIPSorcery.SIP.SIPHeader

Mostrar archivo 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_oe property

public string Accept
return string

AcceptEncoding public_oe property

public string AcceptEncoding
return string

AcceptLanguage public_oe property

public string AcceptLanguage
return string

AlertInfo public_oe property

public string AlertInfo
return string

Allow public_oe property

public string Allow
return string

AllowEvents public_oe property

public string AllowEvents
return string

AuthenticationHeader public_oe property

public SIPAuthenticationHeader,SIPSorcery.SIP AuthenticationHeader
return SIPAuthenticationHeader

AuthenticationInfo public_oe property

public string AuthenticationInfo
return string

CRMCompanyName public_oe property

public string CRMCompanyName
return string

CRMPersonName public_oe property

public string CRMPersonName
return string

CRMPictureURL public_oe property

public string CRMPictureURL
return string

CSeq public_oe property

public int CSeq
return int

CSeqMethod public_oe property

public SIPMethodsEnum CSeqMethod
return SIPMethodsEnum

CallId public_oe property

public string CallId
return string

CallInfo public_oe property

public string CallInfo
return string

Contact public_oe property

public List Contact
return List

ContentDisposition public_oe property

public string ContentDisposition
return string

ContentEncoding public_oe property

public string ContentEncoding
return string

ContentLanguage public_oe property

public string ContentLanguage
return string

ContentLength public_oe property

public int ContentLength
return int

ContentType public_oe property

public string ContentType
return string

Date public_oe property

public string Date
return string

ETag public_oe property

public string ETag
return string

ErrorInfo public_oe property

public string ErrorInfo
return string

Event public_oe property

public string Event
return string

Expires public_oe property

public int Expires
return int

From public_oe property

public SIPFromHeader,SIPSorcery.SIP From
return SIPFromHeader

InReplyTo public_oe property

public string InReplyTo
return string

MIMEVersion public_oe property

public string MIMEVersion
return string

MaxForwards public_oe property

public int MaxForwards
return int

MinExpires public_oe property

public int MinExpires
return int

Organization public_oe property

public string Organization
return string

Priority public_oe property

public string Priority
return string

ProxyReceivedFrom public_oe property

public string ProxyReceivedFrom
return string

ProxyReceivedOn public_oe property

public string ProxyReceivedOn
return string

ProxyRequire public_oe property

public string ProxyRequire
return string

ProxySendFrom public_oe property

public string ProxySendFrom
return string

Reason public_oe property

public string Reason
return string

RecordRoutes public_oe property

public SIPRouteSet,SIPSorcery.SIP RecordRoutes
return SIPRouteSet

ReferSub public_oe property

public string ReferSub
return string

ReferTo public_oe property

public string ReferTo
return string

ReferredBy public_oe property

public string ReferredBy
return string

ReplyTo public_oe property

public string ReplyTo
return string

Require public_oe property

public string Require
return string

RetryAfter public_oe property

public string RetryAfter
return string

Routes public_oe property

public SIPRouteSet,SIPSorcery.SIP Routes
return SIPRouteSet

Server public_oe property

public string Server
return string

Subject public_oe property

public string Subject
return string

SubscriptionState public_oe property

public string SubscriptionState
return string

Supported public_oe property

public string Supported
return string

SwitchboardLineName public_oe property

public string SwitchboardLineName
return string

SwitchboardOriginalCallID public_oe property

public string SwitchboardOriginalCallID
return string

SwitchboardOwner public_oe property

public string SwitchboardOwner
return string

SwitchboardTerminate public_oe property

public string SwitchboardTerminate
return string

Timestamp public_oe property

public string Timestamp
return string

To public_oe property

public SIPToHeader,SIPSorcery.SIP To
return SIPToHeader

UnknownHeaders public_oe property

public List UnknownHeaders
return List

Unsupported public_oe property

public string Unsupported
return string

UserAgent public_oe property

public string UserAgent
return string

Vias public_oe property

public SIPViaSet,SIPSorcery.SIP Vias
return SIPViaSet

Warning public_oe property

public string Warning
return string