메소드 |
설명 |
|
AddSIPChannel ( List sipChannels ) : void |
Adds additional SIP Channels to the transport layer. |
|
AddSIPChannel ( SIPChannel sipChannel ) : void |
Adds an additional SIP Channel to the transport layer. |
|
CreateCancelTransaction ( SIPRequest sipRequest, SIPEndPoint dstEndPoint, SIPEndPoint localSIPEndPoint, UASInviteTransaction inviteTransaction ) : SIPCancelTransaction |
|
|
CreateNonInviteTransaction ( SIPRequest sipRequest, SIPEndPoint dstEndPoint, SIPEndPoint localSIPEndPoint, SIPEndPoint outboundProxy ) : SIPNonInviteTransaction |
|
|
CreateUACTransaction ( SIPRequest sipRequest, SIPEndPoint dstEndPoint, SIPEndPoint localSIPEndPoint, SIPEndPoint outboundProxy, bool sendOkAckManually = false ) : UACInviteTransaction |
|
|
CreateUASTransaction ( SIPRequest sipRequest, SIPEndPoint dstEndPoint, SIPEndPoint localSIPEndPoint, SIPEndPoint outboundProxy, bool noCDR = false ) : UASInviteTransaction |
|
|
DoesTransactionExist ( SIPRequest sipRequest ) : bool |
|
|
FindSIPChannel ( SIPEndPoint localSIPEndPoint ) : SIPChannel |
Attempts to match a SIPChannel for this process that has the specified local end point and protocol. |
|
GetDefaultSIPEndPoint ( ) : SIPEndPoint |
|
|
GetDefaultSIPEndPoint ( SIPEndPoint destinationEP ) : SIPEndPoint |
|
|
GetDefaultSIPEndPoint ( SIPProtocolsEnum protocol ) : SIPEndPoint |
|
|
GetDefaultTransportContact ( SIPProtocolsEnum protocol ) : SIPEndPoint |
|
|
GetHostEndPoint ( string host, bool async ) : SIPDNSLookupResult |
|
|
GetListeningSIPEndPoints ( ) : List |
|
|
GetRequest ( SIPMethodsEnum method, SIPURI uri ) : SIPRequest |
|
|
GetRequest ( SIPMethodsEnum method, SIPURI uri, SIPToHeader to, SIPEndPoint localSIPEndPoint ) : SIPRequest |
|
|
GetRequestEndPoint ( SIPRequest sipRequest, SIPEndPoint outboundProxy, bool async ) : SIPDNSLookupResult |
Based on the information in the SIP request attempts to determine the end point the request should be sent to. |
|
GetResponse ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPResponseStatusCodesEnum responseCode, string reasonPhrase ) : SIPResponse |
Used to create a SIP response when it was not possible to parse the incoming SIP request. |
|
GetResponse ( SIPRequest sipRequest, SIPResponseStatusCodesEnum responseCode, string reasonPhrase ) : SIPResponse |
|
|
GetTransaction ( SIPRequest sipRequest ) : SIPTransaction |
|
|
GetTransaction ( string transactionId ) : SIPTransaction |
|
|
GetURIEndPoint ( SIPURI uri, bool async ) : SIPDNSLookupResult |
|
|
IsLocalSIPEndPoint ( SIPEndPoint sipEndPoint ) : bool |
|
|
PreProcessRouteInfo ( SIPRequest sipRequest ) : void |
This function performs processing on a request to handle any actions that need to be taken based on the Route header. The main sections in the RFC3261 dealing with Route header processing are sections 12.2.1.1 for request processing and 16.4 for proxy processing. The steps to process requests for Route headers are: 1. If route set is empty no further action is required, forward to destination resolved from request URI, 2. If the request URI is identified as a value that was previously set as a Route by this SIP agent it means the previous hop was a strict router. Replace the reqest URI with the last Route header and go to next step, 3. If the top most route header was set by this SIP agent then remove it and go to next step, 4. If the top most route set does contain the lr parameter then forward to the destination resolved by it, 5. If the top most route header does NOT contain the lr parameter is must be popped and inserted as the request URI and the original request URI must be added to the end of the route set, forward to destination resolved from request URI, |
|
ReceiveMessage ( SIPChannel sipChannel, SIPEndPoint remoteEndPoint, byte buffer ) : void |
|
|
RemoveSIPChannel ( SIPChannel sipChannel ) : void |
|
|
SIPTransport ( ResolveSIPEndPointDelegate sipResolver, SIPTransactionEngine transactionEngine ) : NUnit.Framework |
|
|
SIPTransport ( ResolveSIPEndPointDelegate sipResolver, SIPTransactionEngine transactionEngine, SIPChannel sipChannel, bool queueIncoming ) : NUnit.Framework |
|
|
SIPTransport ( ResolveSIPEndPointDelegate sipResolver, SIPTransactionEngine transactionEngine, bool queueIncoming ) : NUnit.Framework |
|
|
SendRaw ( SIPEndPoint localSIPEndPoint, SIPEndPoint destinationEndPoint, byte buffer ) : void |
Allows raw bytes to be sent from one of the SIPTransport sockets. This should not be used for SIP payloads and instead is provided to allow other types of payloads to be multi-plexed on the SIP socket. Examples are sending NAT keep alives and STUN responses where it's useful to use the same socket as the SIP packets. |
|
SendRequest ( SIPEndPoint dstEndPoint, SIPRequest sipRequest ) : void |
|
|
SendRequest ( SIPRequest sipRequest ) : void |
|
|
SendResponse ( SIPEndPoint dstEndPoint, SIPResponse sipResponse ) : void |
|
|
SendResponse ( SIPResponse sipResponse ) : void |
|
|
SendSIPReliable ( SIPTransaction sipTransaction ) : void |
Sends a SIP request/response and keeps track of whether a response/acknowledgement has been received. If no response is received then periodic retransmits are made for up to T1 x 64 seconds. |
|
Shutdown ( ) : void |
|
|