Share via


CtiCallStateManager Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Represents the abstract class interface for the call state manager.

Namespace:   Microsoft.Uii.Desktop.Cti.Core
Assembly:  Microsoft.Uii.Desktop.Cti.Core (in Microsoft.Uii.Desktop.Cti.Core.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Desktop.Cti.Core.CtiCallStateManager

Syntax

public abstract class CtiCallStateManager : ICtiCallStateManager
Public MustInherit Class CtiCallStateManager
    Implements ICtiCallStateManager

Constructors

Name Description
System_CAPS_protmethod CtiCallStateManager(ICtiControl)

Initializes a new instance of the CtiCallStateManager class.

Properties

Name Description
System_CAPS_pubproperty CallCount

Gets the number of calls currently in local call list.

System_CAPS_pubproperty CallersList

Gets or sets the collection of calls that are being managed.

System_CAPS_pubproperty CtiHostedControl

Gets the pointer to the core CTI interface object that was used to construct this call state manager.

System_CAPS_pubproperty EnableAutoAnswer

Gets or sets the Boolean value that specifies whether auto answer is enabled.

System_CAPS_pubproperty EnableOverrideAutoAnswerOnExistingCalls

Gets or sets the Boolean value that specifies whether override auto answer is enabled on existing calls.

System_CAPS_pubproperty GetCurrentActiveCallCount

Gets the count of active calls.

System_CAPS_pubproperty GetRootCtiInterface

Gets the root CTI hosted control.

Methods

Name Description
System_CAPS_pubmethod AddCallInfoItemToCallersList(CallInfoData)

Adds a CallInfoData Item to the CallersList.

System_CAPS_pubmethod AnswerCall(Guid)

Checks whether the call with the given call reference ID is answered.

System_CAPS_pubmethod ConferenceCall(Guid, Dictionary<String, String>)

Checks whether the call is conferenced.

System_CAPS_pubmethod DirectDialOut(String)

Checks whether the direct dial out was successful.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetCallInfoData(Guid)

Gets a CallInfoData object by call reference ID.

System_CAPS_pubmethod GetCallInfoData(String)

Gets a CallInfoData object by the string version of the cti vendor call ID.

System_CAPS_pubmethod GetCallState(Guid)

Gets the current call state.

System_CAPS_pubmethod GetCallVariable(Guid, String)

Required Override This function is called to get a variable from the Call

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod HangUpCall(Guid)

Executes a hang-up call request to the base interface.

System_CAPS_pubmethod HoldCall(Guid)

Executes a hold call request to the base interface.

System_CAPS_pubmethod IsCallActive(Guid)

Checks whether the current call is active. Required override.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod OnCallDestructed(CtiCoreEventArgs)

Called when the call is terminated.

System_CAPS_pubmethod OnCallInfoEvent(CtiCoreEventArgs)

Event Sink for the new call info event.

System_CAPS_pubmethod OnCallItemEvent(CtiCoreEventArgs)

Event sink for call item events from the CTI system.

System_CAPS_pubmethod OnCallStateChanged(CtiCoreEventArgs)

Event Sink for the call status changed event.

System_CAPS_protmethod OnNewCallEvent(NewCallEventData)

Event sink for the new call event.

System_CAPS_pubmethod PickupCall(Guid)

Executes a pick up call request to the base interface.

System_CAPS_pubmethod PushUrl(Guid, Dictionary<String, String>)

Executes a push URL command

System_CAPS_pubmethod RaiseCallStateChangeEvent(CtiCallEventArgs)

Raises state change event.

System_CAPS_pubmethod RaiseNewCallEvent(NewCallEventArgs)

Raises a new call event if a new call event is wired.

System_CAPS_pubmethod RejectCall(Guid, Dictionary<String, String>)

Executes a reject call command to the base interface.

System_CAPS_pubmethod RemoveCall(CallInfoData)

Removes a call from the calls list.

System_CAPS_pubmethod RemoveCall(String)

Removes a call from the calls list by the string version of the cti vendor call ID.

System_CAPS_pubmethod SendChatMessage(Guid, Dictionary<String, String>)

Executes a send chat message command

System_CAPS_pubmethod SetCallVariables(Guid, Dictionary<String, String>)

Sets the call variables into a call.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TransferCall(Guid, Dictionary<String, String>)

Transfers a call using the additional data to pass the nessessary data to the CTI connector.

System_CAPS_pubmethod UpdateCallInfoItemEntry(CallInfoData)

Updates a CallInfoData item in the CallersList

System_CAPS_pubmethod UpdateState()

Updates the current state to new UI controls.

System_CAPS_pubmethod WrapUpCall(Guid, Dictionary<String, String>)

Executes a Wrap up call command to the base interface

Events

Name Description
System_CAPS_pubevent CallDestructed

Raised when a call is terminated.

System_CAPS_pubevent CallItemEvent

Raised when a new call item information event is received.

System_CAPS_pubevent CallManagerStateNewCall

Raised when a new call is received.

System_CAPS_pubevent CallManagerStateUpdate

Raised when a call’s state changes.

Remarks

This class is intended to be overridden as necessary to provide implementation points for custom CTI commands.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.Desktop.Cti.Core Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright