ISession Interface |
The ISession type exposes the following members.
| Name | Description | |
|---|---|---|
| CalleeInfo | Gets some information about the call of the callee. | |
| CallerInfo | Gets some information about the call of the caller. | |
| IsTransferredSession | Gets a boolean value indicating whether this session is a transfer session. | |
| MasterSessionID | Gets the main identifier of the session. When transferring the session this ID will be set for MasterSessionID in the transferred session. | |
| ParentSessionID | Gets the identifier of the parent session that created this session. | |
| RingDuration | Gets the duration while the session was in Ringing state. | |
| SessionID | Gets the unique identifier of the session. | |
| SessionState | Gets the current state of the session. | |
| StartTime | Gets the date and time when the session has been started. | |
| StateDuration | Gets the time passed after the last session state change. | |
| TalkDuration | Gets the duration while the parties were in InCall state so far. | |
| TransferredSessionID | Gets the ID of the tranferring session when the session is created via attended tranfer. | |
| TransferredSessionID2 | Gets the ID of the other tranferring session when the session is created via attended tranfer. |
| Name | Description | |
|---|---|---|
| AttendedTransfer(String) | Performs attended transfer. The transferee and target will be determined automatically. | |
| AttendedTransfer(CallParty, String, CallParty) | Performs attended transfer. The transferee and target will be given by the user. | |
| BlindTransfer | Performs blind transfer. | |
| Close | Closes the session without sending BYE request to the peers. | |
| CloseWithHangUp | 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. | |
| ConnectAudioReceiver | (Inherited from ISessionMediaConnector) | |
| ConnectAudioSender | (Inherited from ISessionMediaConnector) | |
| ConnectVideoReceiver | (Inherited from ISessionMediaConnector) | |
| DisconnectAudioReceiver | (Inherited from ISessionMediaConnector) | |
| DisconnectAudioSender | (Inherited from ISessionMediaConnector) | |
| DisconnectVideoReceiver | (Inherited from ISessionMediaConnector) | |
| Forward | Forwards the caller to another extension. | |
| Hold | Puts the caller and callee on hold. | |
| NotifyTransferState | Notifies the transferor about the state of the transfer. | |
| SendDTMF | Sends DTMF with the specified keycode to the specified party. | |
| Start | ||
| Unhold | Takes the caller and callee off hold. |
| Name | Description | |
|---|---|---|
| AttendedTransferRequest | Occurs when an attended transfer request has been requested by one of the peers. | |
| BlindTransferRequest | Occurs when an blind transfer request has been requested by one of the peers. | |
| MessageSent | Occurs when a message request has been sent by one of the peers. | |
| SessionStateChanged | Occurs when the state of the session has changed.. |