Ozeki VoIP SDK Class library
CreateSoftPhone Method (minPort, maxPort, sipPort)
NamespacesOzeki.VoIP.SDKSoftPhoneFactoryCreateSoftPhone(Int32, Int32, Int32)
Creates a new SoftPhone on all network interfaces.
Declaration Syntax
C#Visual BasicVisual C++
public static ISoftPhone CreateSoftPhone(
	int minPort,
	int maxPort,
	int sipPort
)
Public Shared Function CreateSoftPhone ( _
	minPort As Integer, _
	maxPort As Integer, _
	sipPort As Integer _
) As ISoftPhone
public:
static ISoftPhone^ CreateSoftPhone(
	int minPort, 
	int maxPort, 
	int sipPort
)
Parameters
minPort (Int32)
Lowest port number.
maxPort (Int32)
Highest port number.
sipPort (Int32)
SIP listen port.
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) Version: 10.0.6.243