Enum Class CallState

java.lang.Object
java.lang.Enum<CallState>
com.novomind.ecom.api.iagent.state.CallState
All Implemented Interfaces:
Serializable, Comparable<CallState>, Constable

public enum CallState extends Enum<CallState>
Represents all types of call states.
Since:
11.27
  • Enum Constant Details

    • RECEIVED

      public static final CallState RECEIVED
      The call has been received or started. A queued call will not be distributed automatically in this state.
      Since:
      11.27
    • QUEUED

      public static final CallState QUEUED
      A queued call is queued and waiting for distribution by the routing engine.
      Since:
      11.27
    • DELIVERED

      public static final CallState DELIVERED
      The call is being delivered to an agent or external device. The device is alerting, but the call is not connected yet.
      Since:
      11.27
    • ESTABLISHED

      public static final CallState ESTABLISHED
      The call has been accepted and connected to an agent or external device. The connection is established.
      Since:
      11.27
    • REDIRECTED

      public static final CallState REDIRECTED
      The call has been redirected to an external target which is not a connected agent device.
      Since:
      11.27
    • FINISHED

      public static final CallState FINISHED
      The call has been disconnected and finished. This may happen due to various use cases, e.g. the caller hangs up before being connected to an agent, or the agent hangs up after the call has been connected.
      Since:
      11.27
  • Method Details

    • values

      public static CallState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CallState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null