Click or drag to resize
ISoftPhone Interface
Defines methods, events for softphone functionality.

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public interface ISoftPhone

The ISoftPhone type exposes the following members.

Methods
  NameDescription
Public methodBeginNatDiscovery(String, NatDiscoveryCallback)
Begins the NAT discovery process using the default STUN server (stun.ozekiphone.com).
Public methodBeginNatDiscovery(String, String, NatDiscoveryCallback)
Begins the NAT discovery process.
Public methodClose
Closes the softphone and frees the resources.
Public methodCreateCallObject(IPhoneLine, DialParameters)
Creates a phone call with the specified parameters.
Public methodCreateCallObject(IPhoneLine, String)
Creates a phone call with the specified dialed number.
Public methodCreateDirectIPCallObject
Makes a call to a remote address.
Public methodCreateDirectIPPhoneLine
Creates a line with the specified configuration which can receive calls via direct IP dialing.
Public methodCreatePhoneLine(PhoneLineConfiguration)
Creates a line with the specified configuration.
Public methodCreatePhoneLine(SIPAccount)
Creates a line for the specified SIP account which uses default settings (UDP protocol for SIP, automatic NAT configuration, no SRTP support).
Public methodDisableCodec(Int32)
Disables a codec globally in the softphone.
Public methodDisableCodec(CodecPayloadType)
Disables a codec globally in the softphone.
Public methodEnableCodec(Int32)
Enables the specified codec in the softphone globally.
Public methodEnableCodec(CodecPayloadType)
Enables a codec globally in the softphone.
Public methodEnableServerNameValidation
Enables or disables server name validation.
Public methodRegisterPhoneLine
Registers the SIP account to the softphone. If SIP account registration required, the softphone will send a register request asynchronously to the SIP registrar/proxy.
Public methodSetPortRange
Sets the RTP port range.
Public methodSetSDPMessageManipulator
Sets an SDP message manipulator to the softphone which can modify incoming and outgoing SDP messages.
Public methodSetSIPMessageManipulator
Sets an SDP message manipulator to the softphone which can modify incoming and outgoing SIP messages.
Public methodUnregisterPhoneLine
Unregisters the SIP account from the softphone. If the SIP account is registered with a SIP server, the softphone will send an unregister request asynchronously to the SIP registrar/proxy.
Top
Properties
  NameDescription
Public propertyCodecs
Gets the list of available codecs in the softphone.
Public propertyVideoEncoderQuality
Gets or sets the quality of the sent video.
Top
Events
  NameDescription
Public eventIncomingCall
Occurs when an incoming call received from a remote host.
Top
Exceptions
ExceptionCondition
LicenseExceptionThrows a license exception, when call limit or phone line registration limit reached.
Remarks
This interface contains all the functionality of a traditional telephone device with the ability of multiple call handling. The codecs it uses can be set and changed dinamically.
See Also