Ozeki VoIP SDK Class library
CreateSoftPhone Method (localAddress, minPort, maxPort, sipPort, logFile)
NamespacesOzeki.VoIP.SDKSoftPhoneFactoryCreateSoftPhone(String, Int32, Int32, Int32, String)
Creates a new SoftPhone
Declaration Syntax
C#Visual BasicVisual C++
public static ISoftPhone CreateSoftPhone(
	string localAddress,
	int minPort,
	int maxPort,
	int sipPort,
	string logFile
)
Public Shared Function CreateSoftPhone ( 
	localAddress As String,
	minPort As Integer,
	maxPort As Integer,
	sipPort As Integer,
	logFile As String
) As ISoftPhone
public:
static ISoftPhone^ CreateSoftPhone(
	String^ localAddress, 
	int minPort, 
	int maxPort, 
	int sipPort, 
	String^ logFile
)
Parameters
localAddress (String)
Local ip address or domain name.
minPort (Int32)
Lowest port number.
maxPort (Int32)
Highest port number.
sipPort (Int32)
SIP listen port.
logFile (String)
Return Value
Remarks
The softphone needs a port range from where you can get ports for multiple calls and registrations. Every registration, every call needs unique ports.
Exceptions
ExceptionCondition
LicenseExceptionThrows a license exception, when license is not appropiate.

Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 10.1.12.649