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