C# 클래스 SIPSorcery.SIP.SIPDialogue

See "Chapter 12 Dialogs" in RFC3261.
The standard states that there are two independent CSeq's for a dialogue: one for requests from the UAC and for requests from the UAS. In practice it's been noted that is a UAS (initial UAS) sends an in-dialogue request with a CSeq less than the UAC's CSeq it can cause problems. To avoid this issue when generating requests the remote CSeq is always used.
파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DialogueState SIPDialogueStateEnum

보호된 프로퍼티들

프로퍼티 타입 설명
logger ILog
m_CRLF string
m_sipVersion string

공개 메소드들

메소드 설명
Hangup ( SIPTransport sipTransport, SIPEndPoint outboundProxy ) : void
SIPDialogue ( ) : System
SIPDialogue ( SIPRequest nonInviteRequest, string owner, string adminMemberId, string toTag ) : System

This constructor is used to create non-INVITE dialogues for example the dialogues used in SIP event interactions where the dialogue is created based on a SUBSCRIBE request.

SIPDialogue ( UACInviteTransaction uacInviteTransaction, string owner, string adminMemberId ) : System

This constructor is used by client user agents or SIP elements acting in a client user agent role. When acting as a client user agent the local fields are contained in the From header and the remote fields are in the To header.

SIPDialogue ( UASInviteTransaction uasInviteTransaction, string owner, string adminMemberId ) : System

This constructor is used by server user agents or SIP elements acting in a server user agent role. When acting as a server user agent the local fields are contained in the To header and the remote fields are in the From header.

SIPDialogue ( string callId, SIPRouteSet routeSet, SIPUserField localUser, SIPUserField remoteUser, int cseq, SIPURI remoteTarget, string localTag, string remoteTag, Guid cdrId, string owner, string adminMemberId, string sdp, string remoteSDP ) : System

비공개 메소드들

메소드 설명
GetByeRequest ( SIPEndPoint localSIPEndPoint ) : SIPRequest
GetRemoteTargetProtocol ( ) : SIPProtocolsEnum

메소드 상세

Hangup() 공개 메소드

public Hangup ( SIPTransport sipTransport, SIPEndPoint outboundProxy ) : void
sipTransport SIPTransport
outboundProxy SIPEndPoint
리턴 void

SIPDialogue() 공개 메소드

public SIPDialogue ( ) : System
리턴 System

SIPDialogue() 공개 메소드

This constructor is used to create non-INVITE dialogues for example the dialogues used in SIP event interactions where the dialogue is created based on a SUBSCRIBE request.
public SIPDialogue ( SIPRequest nonInviteRequest, string owner, string adminMemberId, string toTag ) : System
nonInviteRequest SIPRequest
owner string
adminMemberId string
toTag string
리턴 System

SIPDialogue() 공개 메소드

This constructor is used by client user agents or SIP elements acting in a client user agent role. When acting as a client user agent the local fields are contained in the From header and the remote fields are in the To header.
public SIPDialogue ( UACInviteTransaction uacInviteTransaction, string owner, string adminMemberId ) : System
uacInviteTransaction UACInviteTransaction
owner string
adminMemberId string
리턴 System

SIPDialogue() 공개 메소드

This constructor is used by server user agents or SIP elements acting in a server user agent role. When acting as a server user agent the local fields are contained in the To header and the remote fields are in the From header.
public SIPDialogue ( UASInviteTransaction uasInviteTransaction, string owner, string adminMemberId ) : System
uasInviteTransaction UASInviteTransaction
owner string
adminMemberId string
리턴 System

SIPDialogue() 공개 메소드

public SIPDialogue ( string callId, SIPRouteSet routeSet, SIPUserField localUser, SIPUserField remoteUser, int cseq, SIPURI remoteTarget, string localTag, string remoteTag, Guid cdrId, string owner, string adminMemberId, string sdp, string remoteSDP ) : System
callId string
routeSet SIPRouteSet
localUser SIPUserField
remoteUser SIPUserField
cseq int
remoteTarget SIPURI
localTag string
remoteTag string
cdrId Guid
owner string
adminMemberId string
sdp string
remoteSDP string
리턴 System

프로퍼티 상세

DialogueState 공개적으로 프로퍼티

public SIPDialogueStateEnum DialogueState
리턴 SIPDialogueStateEnum

logger 보호되어 있는 정적으로 프로퍼티

protected static ILog logger
리턴 ILog

m_CRLF 보호되어 있는 정적으로 프로퍼티

protected static string m_CRLF
리턴 string

m_sipVersion 보호되어 있는 정적으로 프로퍼티

protected static string m_sipVersion
리턴 string