Enum Class PhoneError

java.lang.Object
java.lang.Enum<PhoneError>
altitude.integrationServer.types.PhoneError
All Implemented Interfaces:
Serializable, Comparable<PhoneError>, Constable

public enum PhoneError extends Enum<PhoneError>
Represents the type of phone error.
  • Enum Constant Details

    • NoValue

      public static final PhoneError NoValue
      No value is assigned.
    • UnknownFailure

      public static final PhoneError UnknownFailure
      The call failed due to an unknown reason.
    • SwitchError

      public static final PhoneError SwitchError
      The call failed because of a switch error.
    • LineOverflow

      public static final PhoneError LineOverflow
      No trunk lines are available.
    • Busy

      public static final PhoneError Busy
      The destination phone was busy.
    • NoAnswer

      public static final PhoneError NoAnswer
      The destination phone did not answer.
    • MachineAnswered

      public static final PhoneError MachineAnswered
      The destination phone was answered by a machine.
    • InvalidNumber

      public static final PhoneError InvalidNumber
      The number dialed is invalid.
    • Fax

      public static final PhoneError Fax
      The destination phone was answered by a fax machine.
    • Modem

      public static final PhoneError Modem
      The destination phone was answered by a modem.
    • RecordingStartFailed

      public static final PhoneError RecordingStartFailed
      The call cannot be recorded.
    • AutomaticRecordingStartFailed

      public static final PhoneError AutomaticRecordingStartFailed
      The automatic recording start failed.
    • CustomCallStatus1

      public static final PhoneError CustomCallStatus1
      A request failed due to custom call status #1.
    • CustomCallStatus2

      public static final PhoneError CustomCallStatus2
      A request failed due to custom call status #2.
    • CustomCallStatus3

      public static final PhoneError CustomCallStatus3
      A request failed due to custom call status #3.
    • CustomCallStatus4

      public static final PhoneError CustomCallStatus4
      A request failed due to custom call status #4
    • CustomCallStatus5

      public static final PhoneError CustomCallStatus5
      A request failed due to custom call status #5
    • NoAgent

      public static final PhoneError NoAgent
      The destination agent did not answer.
  • Method Details

    • values

      public static PhoneError[] 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 PhoneError 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
    • value

      public int value()
    • fromValue

      public static PhoneError fromValue(int v)