Click or drag to resize
SoftPhoneFactoryCreateSoftPhone Method (Int32, Int32)
Creates a new softphone engine.

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.3.9.0
Syntax
public static ISoftPhone CreateSoftPhone(
	int minPort,
	int maxPort
)

Parameters

minPort
Type: SystemInt32
Minimum port used for RTP communication.
maxPort
Type: SystemInt32
Maximum port used for RTP communication.

Return Value

Type: ISoftPhone
Exceptions
ExceptionCondition
[!:Common.Exceptions.LicenseException]Throws a license exception, when the trial period has expired.
[!:Common.Exceptions.VoIPException]Throws a VoIP exception, when the min port is higher than the max port.
See Also