Click or drag to resize

ISession Interface


Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntax
public interface ISession : ISessionMediaConnector

The ISession type exposes the following members.

Properties
 NameDescription
Public propertyCalleeInfo Gets some information about the call of the callee.
Public propertyCallerInfo Gets some information about the call of the caller.
Public propertyIsTransferredSession Gets a boolean value indicating whether this session is a transfer session.
Public propertyMasterSessionID Gets the main identifier of the session. When transferring the session this ID will be set for MasterSessionID in the transferred session.
Public propertyParentSessionID Gets the identifier of the parent session that created this session.
Public propertyRingDuration Gets the duration while the session was in Ringing state.
Public propertySessionID Gets the unique identifier of the session.
Public propertySessionState Gets the current state of the session.
Public propertyStartTime Gets the date and time when the session has been started.
Public propertyStateDuration Gets the time passed after the last session state change.
Public propertyTalkDuration Gets the duration while the parties were in InCall state so far.
Public propertyTransferredSessionID Gets the ID of the tranferring session when the session is created via attended tranfer.
Public propertyTransferredSessionID2 Gets the ID of the other tranferring session when the session is created via attended tranfer.
Top
Methods
 NameDescription
Public methodAttendedTransfer(String) Performs attended transfer. The transferee and target will be determined automatically.
Public methodAttendedTransfer(CallParty, String, CallParty) Performs attended transfer. The transferee and target will be given by the user.
Public methodBlindTransfer Performs blind transfer.
Public methodClose Closes the session without sending BYE request to the peers.
Public methodCloseWithHangUp Closes the session and sends a BYE request to the peers. If the call has not been established yet, sends a CANCEL request to the callee.
Public methodConnectAudioReceiver
(Inherited from ISessionMediaConnector)
Public methodConnectAudioSender
(Inherited from ISessionMediaConnector)
Public methodConnectVideoReceiver
(Inherited from ISessionMediaConnector)
Public methodDisconnectAudioReceiver
(Inherited from ISessionMediaConnector)
Public methodDisconnectAudioSender
(Inherited from ISessionMediaConnector)
Public methodDisconnectVideoReceiver
(Inherited from ISessionMediaConnector)
Public methodForward Forwards the caller to another extension.
Public methodHold Puts the caller and callee on hold.
Public methodNotifyTransferState Notifies the transferor about the state of the transfer.
Public methodSendDTMF Sends DTMF with the specified keycode to the specified party.
Public methodStart 
Public methodUnhold Takes the caller and callee off hold.
Top
Events
 NameDescription
Public eventAttendedTransferRequest Occurs when an attended transfer request has been requested by one of the peers.
Public eventBlindTransferRequest Occurs when an blind transfer request has been requested by one of the peers.
Public eventMessageSent Occurs when a message request has been sent by one of the peers.
Public eventSessionStateChanged Occurs when the state of the session has changed..
Top
See Also