C# Class SIPLibDriver.Program

Example program to demonstrate the use of the SIP library.
Mostra file Open project: richardspiers/C-Sharp-Sip-Lib

Public Methods

Method Description
CreateStack ( SIPApp app, string username, string proxyIp = null, int proxyPort = -1 ) : SIPStack

Creates a SIP stack.

CreateTransport ( string listenIp, int listenPort ) : SIPLib.SIP.TransportInfo

Creates the actual transport - UDP is supported, TCP needs work.

Private Methods

Method Description
Main ( string args ) : void

Defines the entry point of the application.

Method Details

CreateStack() public static method

Creates a SIP stack.
public static CreateStack ( SIPApp app, string username, string proxyIp = null, int proxyPort = -1 ) : SIPStack
app SIPApp The associated sip application.
username string The username representing this SIP endpoint.
proxyIp string The proxy ip if any.
proxyPort int The proxy port if any.
return SIPLib.SIP.SIPStack

CreateTransport() public static method

Creates the actual transport - UDP is supported, TCP needs work.
public static CreateTransport ( string listenIp, int listenPort ) : SIPLib.SIP.TransportInfo
listenIp string The listen ip.
listenPort int The listen port.
return SIPLib.SIP.TransportInfo