de.starface.integration.uci.java.v30.values
Enum CallState

java.lang.Object
  extended by java.lang.Enum<CallState>
      extended by de.starface.integration.uci.java.v30.values.CallState
All Implemented Interfaces:
Serializable, Comparable<CallState>

public enum CallState
extends Enum<CallState>

This enum defines the different states a call can take. The constants are used for the call property CallProperties.state.


Enum Constant Summary
CCBS
          Ccbs is activated for that call.
CONFERENCE_ACTIVE
          This state indicates that the call is in conference
CONFERENCE_CONSULT
          A consultation call for conference.
CONFERENCE_INACTIVE
          The account have no active connection to that conference.
CONNECTED
          This state indicates that the two parties of the call have been connected and the corresponding call is established.
CONSULT
          A consultation call.
HANGUP
          When a call reaches this state it is finished independent from its previous state.
INCOMING
          A new call is incoming for the account and has not been further handeled.
LOGIN_LOGOUT
          This state indicates that the call is used to log in or out of a telephone or a group
MUSICONHOLD_TEST
          This state indicates that the call is used to test the music on hold
OUTGOING
          A new call is outgoing for the account and has not been further handeled.
PARKED
          This state indicates that the call is parked
RINGBACK
          The the identified account is calling someone whose telephone is ringing.
RINGING
          The identified account is called by someone an it's telephone is ringing.
VOICEMAIL_LINKED
          When a call is linked to the voicemailbox.
VOICEMAIL_MAIN
          When a call is linked to the voicemailbox menue.
 
Method Summary
static CallState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CallState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INCOMING

public static final CallState INCOMING
A new call is incoming for the account and has not been further handeled. Especially no phones are ringing for the call so far.


OUTGOING

public static final CallState OUTGOING
A new call is outgoing for the account and has not been further handeled. Especially no phones are ringing for the call so far.


RINGING

public static final CallState RINGING
The identified account is called by someone an it's telephone is ringing.


RINGBACK

public static final CallState RINGBACK
The the identified account is calling someone whose telephone is ringing.


CONNECTED

public static final CallState CONNECTED
This state indicates that the two parties of the call have been connected and the corresponding call is established.


PARKED

public static final CallState PARKED
This state indicates that the call is parked


CONFERENCE_ACTIVE

public static final CallState CONFERENCE_ACTIVE
This state indicates that the call is in conference


LOGIN_LOGOUT

public static final CallState LOGIN_LOGOUT
This state indicates that the call is used to log in or out of a telephone or a group


MUSICONHOLD_TEST

public static final CallState MUSICONHOLD_TEST
This state indicates that the call is used to test the music on hold


VOICEMAIL_LINKED

public static final CallState VOICEMAIL_LINKED
When a call is linked to the voicemailbox.


VOICEMAIL_MAIN

public static final CallState VOICEMAIL_MAIN
When a call is linked to the voicemailbox menue.


CONSULT

public static final CallState CONSULT
A consultation call.


CONFERENCE_CONSULT

public static final CallState CONFERENCE_CONSULT
A consultation call for conference.


CONFERENCE_INACTIVE

public static final CallState CONFERENCE_INACTIVE
The account have no active connection to that conference.


CCBS

public static final CallState CCBS
Ccbs is activated for that call.


HANGUP

public static final CallState HANGUP
When a call reaches this state it is finished independent from its previous state.

Method Detail

values

public static CallState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CallState c : CallState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CallState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012 STARFACE GmbH. All rights reserved.