Enum Class CallState
- All Implemented Interfaces:
Serializable
,Comparable<CallState>
,Constable
Represents all types of call states.
- Since:
- 11.27
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe call is being delivered to an agent or external device.The call has been accepted and connected to an agent or external device.The call has been disconnected and finished.A queued call is queued and waiting for distribution by the routing engine.The call has been received or started.The call has been redirected to an external target which is not a connected agent device. -
Method Summary
-
Enum Constant Details
-
RECEIVED
The call has been received or started. A queued call will not be distributed automatically in this state.- Since:
- 11.27
-
QUEUED
A queued call is queued and waiting for distribution by the routing engine.- Since:
- 11.27
-
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
The call has been accepted and connected to an agent or external device. The connection is established.- Since:
- 11.27
-
REDIRECTED
The call has been redirected to an external target which is not a connected agent device.- Since:
- 11.27
-
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
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
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 nameNullPointerException
- if the argument is null
-