Метод | Описание | |
---|---|---|
CreateRequest ( string method, object dest, bool stateless = false, bool recordRoute = false, Dictionary |
Creates a SIP request.
|
|
CreateTransaction ( |
Simply passed the request on to the receivedRequest function when acting as a proxy.
|
|
Error ( Transaction transaction, string error ) : void |
Raises an error (Service unavailable etc)
|
|
IsLocal ( |
Determines whether the specified URI is local.
|
|
Proxy ( |
Initializes a new instance of the T:SIPLib.SIP.Proxy class.
|
|
ReceivedRequest ( Transaction transaction, |
Receives the SIP request, modifies headers and passes on to the stack.
|
|
ReceivedResponse ( Transaction transaction, |
Receives the SIP response
|
|
SendCancel ( ) : void |
Sends a SIP cancel request
|
|
SendRequest ( |
Sends the SIP request.
|
|
SendResponse ( object response, string responseText = "", string content = "", string contentType = "", bool createDialog = true ) : void |
Sends a SIP response.
|
Метод | Описание | |
---|---|---|
GetBranch ( Transaction transaction ) : SIPLib.SIP.ProxyBranch |
Returns the branch ID for the specified transaction.
|
|
RetryNextCandidate ( SIPLib.SIP.ProxyBranch branch ) : void |
Retries the next candidate to send to.
|
|
SendResponseIfPossible ( ) : void |
Sends a SIP response if possible.
|
|
TimeOut ( Transaction transaction ) : void |
Handles request timeouts
|
public CreateRequest ( string method, object dest, bool stateless = false, bool recordRoute = false, Dictionary |
||
method | string | The SIP method. |
dest | object | The dest (either Address or string[]). |
stateless | bool | if set to |
recordRoute | bool | if set to |
headers | Dictionary |
The SIP headers to use. |
route | List |
The route. |
Результат |
public CreateTransaction ( |
||
request | The request. | |
Результат | Transaction |
public Error ( Transaction transaction, string error ) : void | ||
transaction | Transaction | The transaction. |
error | string | The error. |
Результат | void |
public Proxy ( |
||
stack | The SIP stack to use. | |
request | The incoming request to proxy. | |
server | bool | if set to |
Результат | System |
public ReceivedRequest ( Transaction transaction, |
||
transaction | Transaction | The transaction. |
request | The request. | |
Результат | void |
public ReceivedResponse ( Transaction transaction, |
||
transaction | Transaction | The transaction. |
response | The response. | |
Результат | void |
public SendRequest ( |
||
request | The request. | |
Результат | void |
public SendResponse ( object response, string responseText = "", string content = "", string contentType = "", bool createDialog = true ) : void | ||
response | object | The response. |
responseText | string | The response text. |
content | string | The SIP body content. |
contentType | string | Type of the content. |
createDialog | bool | Always false for a Proxy. |
Результат | void |