Ozeki VoIP SDK Class library
CreateSoftPhone Method (localAddress, minPort, maxPort)
NamespacesOzeki.VoIP.SDKSoftPhoneFactoryCreateSoftPhone(String, Int32, Int32)
Creates a new softphone engine.
Declaration Syntax
C#Visual BasicVisual C++
public static ISoftPhone CreateSoftPhone(
	string localAddress,
	int minPort,
	int maxPort
)
Public Shared Function CreateSoftPhone ( 
	localAddress As String,
	minPort As Integer,
	maxPort As Integer
) As ISoftPhone
public:
static ISoftPhone^ CreateSoftPhone(
	String^ localAddress, 
	int minPort, 
	int maxPort
)
Parameters
localAddress (String)
The local address that will be used for SIP and RTP communication.
minPort (Int32)
Minimum port used for RTP communication.
maxPort (Int32)
Maximum port used for RTP communication.
Return Value
Exceptions
ExceptionCondition
LicenseExceptionThrows a license exception, when the trial period has expired.
VoIPExceptionThrows a VoIP exception, when the min port is higher than the max port.

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