Ozeki VoIP SDK Class library
CreateSoftPhone Method (localAddress, minPortRange, maxPortRange, sipPort, logFile)
NamespacesOzeki.VoIP.SDKSoftPhoneFactoryCreateSoftPhone(IPAddress, Int32, Int32, Int32, String)
Creates a new SoftPhone
Declaration Syntax
C#Visual BasicVisual C++
public static ISoftPhone CreateSoftPhone(
	IPAddress localAddress,
	int minPortRange,
	int maxPortRange,
	int sipPort,
	string logFile
)
Public Shared Function CreateSoftPhone ( 
	localAddress As IPAddress,
	minPortRange As Integer,
	maxPortRange As Integer,
	sipPort As Integer,
	logFile As String
) As ISoftPhone
public:
static ISoftPhone^ CreateSoftPhone(
	IPAddress^ localAddress, 
	int minPortRange, 
	int maxPortRange, 
	int sipPort, 
	String^ logFile
)
Parameters
localAddress (IPAddress)
Local ip address or domain name.
minPortRange (Int32)
Lowest port number.
maxPortRange (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