Property | Type | Description | |
---|---|---|---|
Closing | bool | ||
ServerMethods | string[] | ||
TransactionLock | object |
Property | Type | Description | |
---|---|---|---|
CreateTimer | Timer | ||
FindDialog | Dialog | ||
Init | void | ||
ReceivedRequest | void | ||
ReceivedResponse | void | ||
TransportReceivedDataEvent | void |
Method | Description | |
---|---|---|
Authenticate ( SIPLib.SIP.UserAgent ua, SIPLib.SIP.Header header ) : string[] |
Authenticates through the associated SIP application.
|
|
Cancelled ( SIPLib.SIP.UserAgent ua, |
Passes the notification of a cancellation to the associated SIP application.
|
|
CreateServer ( |
Creates the SIP server.
|
|
CreateTimer ( SIPLib.SIP.UserAgent obj ) : Timer |
Creates a timer on the associated SIP application.
|
|
CreateVia ( ) : SIPLib.SIP.Header |
Helper function to create a VIA header for this stack.
|
|
DialogCreated ( Dialog dialog, SIPLib.SIP.UserAgent ua ) : void |
Notifies the associated SIP application that a dialog has been created.
|
|
FindOtherTransactions ( |
Finds any other transactions.
|
|
FindTransaction ( string id ) : Transaction |
Finds a transaction given an ID
|
|
NewCallId ( ) : string |
Generates a new call ID.
|
|
Received ( string data, string src ) : void |
Processing of raw received data
|
|
ReceivedRequest ( SIPLib.SIP.UserAgent ua, |
Passes a received request to the associated SIP application.
|
|
ReceivedResponse ( SIPLib.SIP.UserAgent ua, |
Passes a received response to the associated SIP application.
|
|
SIPStack ( SIPApp app, string userAgentName = "SIPLIB" ) : System |
Initializes a new instance of the T:SIPLib.SIP.SIPStack class.
|
|
Send ( object data, object dest = null, SIPLib.SIP.TransportInfo transport = null ) : void |
Method to send SIP messages. Handles appending of necessary information and routing rules.
|
|
Sending ( SIPLib.SIP.UserAgent ua, |
Sends a particular message through the associated SIP application.
|
Method | Description | |
---|---|---|
CreateTimer ( Transaction transaction ) : Timer |
Creates the timer.
|
|
FindDialog ( object m ) : Dialog |
Finds the corresponding dialog by message or string
|
|
Init ( ) : void |
Initialises the stack. Sets random Tag and creates private dictionaries.
|
|
ReceivedRequest ( |
Handle received request
|
|
ReceivedResponse ( |
Handles the received response and passes it to the appropriate transaction or dialog for further handling.
|
|
TransportReceivedDataEvent ( object sender, SIPLib.SIP.RawEventArgs e ) : void |
Triggered on receipt of data
|
public Authenticate ( SIPLib.SIP.UserAgent ua, SIPLib.SIP.Header header ) : string[] | ||
ua | SIPLib.SIP.UserAgent | The ua. |
header | SIPLib.SIP.Header | The header. |
return | string[] |
public Cancelled ( SIPLib.SIP.UserAgent ua, |
||
ua | SIPLib.SIP.UserAgent | The ua. |
request | The request. | |
return | void |
public CreateServer ( |
||
request | The request. | |
uri | The URI. | |
return | SIPLib.SIP.UserAgent |
public CreateTimer ( SIPLib.SIP.UserAgent obj ) : Timer | ||
obj | SIPLib.SIP.UserAgent | The obj. |
return | Timer |
public DialogCreated ( Dialog dialog, SIPLib.SIP.UserAgent ua ) : void | ||
dialog | Dialog | The dialog. |
ua | SIPLib.SIP.UserAgent | The ua. |
return | void |
public FindOtherTransactions ( |
||
r | The SIP message. | |
orig | Transaction | The original transaction. |
return | Transaction |
public FindTransaction ( string id ) : Transaction | ||
id | string | The id of the transaction to find.. |
return | Transaction |
public Received ( string data, string src ) : void | ||
data | string | The received data. |
src | string | The data source. |
return | void |
public ReceivedRequest ( SIPLib.SIP.UserAgent ua, |
||
ua | SIPLib.SIP.UserAgent | The ua. |
request | The request. | |
return | void |
public ReceivedResponse ( SIPLib.SIP.UserAgent ua, |
||
ua | SIPLib.SIP.UserAgent | The ua. |
response | The response. | |
return | void |
public SIPStack ( SIPApp app, string userAgentName = "SIPLIB" ) : System | ||
app | SIPApp | The SIPApp that messages should be passed to. |
userAgentName | string | Name of the user agent / stack identifier. |
return | System |
public Send ( object data, object dest = null, SIPLib.SIP.TransportInfo transport = null ) : void | ||
data | object | The data to send (can be a SIPMessage or string representing a SIP message). |
dest | object | The destination (can be a SIPURI or a string). |
transport | SIPLib.SIP.TransportInfo | Optional TransportInfo object. |
return | void |
public Sending ( SIPLib.SIP.UserAgent ua, |
||
ua | SIPLib.SIP.UserAgent | The ua. |
message | The message. | |
return | void |