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