Method |
Description |
|
DispatcherLookup ( SIPRequest sipRequest ) : SIPEndPoint |
|
|
DispatcherLookup ( SIPResponse sipResponse ) : SIPEndPoint |
|
|
GetAppServer ( ) : SIPEndPoint |
|
|
GetDefaultSIPEndPoint ( SIPProtocolsEnum protocol ) : SIPEndPoint |
|
|
Log ( string message ) : void |
|
|
Resolve ( SIPRequest sipRequest ) : SIPDNSLookupResult |
|
|
Resolve ( SIPURI sipURI ) : SIPDNSLookupResult |
|
|
Resolve ( SIPResponse sipResponse ) : SIPEndPoint |
|
|
Respond ( SIPRequest sipRequest, SIPResponseStatusCodesEnum responseCode, string reasonPhrase ) : void |
Helper method for dynamic proxy runtime script. |
|
SIPProxyScriptFacade ( SIPMonitorLogDelegate proxyLogger, SIPTransport sipTransport, SIPProxyDispatcher dispatcher, GetAppServerDelegate getAppServer ) : NUnit.Framework |
|
|
SendExternal ( SIPEndPoint receivedOnEP, SIPEndPoint dstSIPEndPoint, SIPRequest sipRequest, string proxyBranch, IPAddress publicIPAddress ) : void |
Used to send a request from an internal server agent to an external SIP user agent. The difference between this method and the SendTransparent method is that this one will set Via headers in accordance with RFC3261. |
|
SendExternal ( SIPResponse sipResponse, SIPEndPoint localSIPEndPoint ) : void |
|
|
SendExternal ( SIPResponse sipResponse, SIPEndPoint localSIPEndPoint, IPAddress publicIPAddress ) : void |
|
|
SendInternal ( SIPEndPoint receivedFromEP, SIPEndPoint receivedOnEP, SIPResponse sipResponse, SIPEndPoint localSIPEndPoint ) : void |
|
|
SendInternal ( SIPEndPoint receivedFromEP, SIPEndPoint receivedOnEP, string dstSocket, SIPRequest sipRequest, string proxyBranch, string sendFromSocket ) : void |
Used to send a SIP request received from an external user agent to an internal SIP server agent. |
|
SendTransparent ( SIPEndPoint receivedFromEP, SIPEndPoint receivedOnEP, SIPResponse sipResponse, SIPEndPoint localSIPEndPoint, SIPEndPoint dstSIPEndPoint, string proxyBranch ) : void |
This method is the equivalent to the same named method for sending SIP requests. The two methods are used to allow the Proxy to deliver requests to external SIP agents with only a SINGLE Via header due to a small number of providers rejecting requests with more than one Via header. |
|
SendTransparent ( SIPEndPoint receivedFromEP, SIPEndPoint receivedOnEP, SIPResponse sipResponse, SIPEndPoint localSIPEndPoint, string dstSIPEndPoint, string proxyBranch ) : void |
|
|
SendTransparent ( SIPEndPoint dstSIPEndPoint, SIPRequest sipRequest, IPAddress publicIPAddress ) : void |
Forwards a SIP request through the Proxy. This method differs from the standard Send in that irrespective of whether the Proxy is receiving and sending on different sockets only a single Via header will ever be allowed on the request. It is then up to the response processing logic to determine from which Proxy socket to forward the request and to add back on the Via header for the end agent. This method is only ever used for requests destined for EXTERNAL SIP end points. |
|