4.1.0.610 20071213

ch.ecma.csta.binding
Class AlternateCall

java.lang.Object
  extended by ch.ecma.csta.CastorObject
      extended by ch.ecma.csta.binding.AlternateCall
All Implemented Interfaces:
java.io.Serializable

public class AlternateCall
extends ch.ecma.csta.CastorObject
implements java.io.Serializable

Places an existing call on hold and then retrieves a previously held or alerting call at the same device. This service is also used to place an active call on hold and then connect to an alerting or queued call at the same device (that is, to answer a call-waiting call).

The AlternateCall request has these parameters:

AlternateCall Request Parameters
heldCall Mandatory Held Connection.
activeCall Mandatory Active Connection.

CSTA Functional Requirements:

  1. The Alternate Call service should not be used to put an alerting call on hold and re-connect to another call that is on hold.
  2. This service is a multiple step service that is equivalent to the computing function issuing the HoldCall service for the activeCall ConnectionID and then issuing one of the following services:
  3. Not Supported
  4. Not supported as it applies to bridging.

Negative Acknowledgements:

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
AlternateCall()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 ConnectionID getActiveCall()
          Returns the value of field 'activeCall'.
 java.lang.Boolean getConnectionReservation()
          Returns the value of field 'connectionReservation'.
 ConsultOptions getConsultOptions()
          Returns the value of field 'consultOptions'.
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 ConnectionID getHeldCall()
          Returns the value of field 'heldCall'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setActiveCall(ConnectionID activeCall)
          Sets the value of field 'activeCall'.
 void setConnectionReservation(java.lang.Boolean connectionReservation)
          Sets the value of field 'connectionReservation'.
 void setConsultOptions(ConsultOptions consultOptions)
          Sets the value of field 'consultOptions'.
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
 void setHeldCall(ConnectionID heldCall)
          Sets the value of field 'heldCall'.
static AlternateCall unmarshalAlternateCall(java.io.Reader reader)
          Method unmarshalAlternateCall
 void validate()
          Method validate
 
Methods inherited from class ch.ecma.csta.CastorObject
getOldSessionID, hashCode, setOldSessionID, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlternateCall

public AlternateCall()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Overrides:
equals in class ch.ecma.csta.CastorObject
Parameters:
obj -
Returns:
boolean

getActiveCall

public ConnectionID getActiveCall()
Returns the value of field 'activeCall'. The field 'activeCall' has the following description: Specifies the active connection for the alternating device. Mandatory.

Returns:
ConnectionID

getConnectionReservation

public java.lang.Boolean getConnectionReservation()
Returns the value of field 'connectionReservation'. The field 'connectionReservation' has the following description: Specifies that the media stream channel(s) associated with the call being placed on hold be reserved for reuse at a later time. Optional.

The complete set of possible values is:

Returns:
Boolean

getConsultOptions

public ConsultOptions getConsultOptions()
Returns the value of field 'consultOptions'.

Returns:
ConsultOptions

getExtensions

public CSTACommonArguments getExtensions()
Returns the value of field 'extensions'.

Returns:
CSTACommonArguments

getHeldCall

public ConnectionID getHeldCall()
Returns the value of field 'heldCall'. The field 'heldCall' has the following description: Specifies the held connection for the alternating device. Mandatory.

Returns:
ConnectionID

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setActiveCall

public void setActiveCall(ConnectionID activeCall)
Sets the value of field 'activeCall'. The field 'activeCall' has the following description: Specifies the active connection for the alternating device. Mandatory.

Parameters:
activeCall - the value of field 'activeCall'.

setConnectionReservation

public void setConnectionReservation(java.lang.Boolean connectionReservation)
Sets the value of field 'connectionReservation'. The field 'connectionReservation' has the following description: Specifies that the media stream channel(s) associated with the call being placed on hold be reserved for reuse at a later time. Optional.

The complete set of possible values is:

Parameters:
connectionReservation - the value of field 'connectionReservation'.

setConsultOptions

public void setConsultOptions(ConsultOptions consultOptions)
Sets the value of field 'consultOptions'.

Parameters:
consultOptions - the value of field 'consultOptions'.

setExtensions

public void setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'.

Parameters:
extensions - the value of field 'extensions'.

setHeldCall

public void setHeldCall(ConnectionID heldCall)
Sets the value of field 'heldCall'. The field 'heldCall' has the following description: Specifies the held connection for the alternating device. Mandatory.

Parameters:
heldCall - the value of field 'heldCall'.

unmarshalAlternateCall

public static AlternateCall unmarshalAlternateCall(java.io.Reader reader)
                                            throws org.exolab.castor.xml.MarshalException,
                                                   org.exolab.castor.xml.ValidationException
Method unmarshalAlternateCall

Parameters:
reader -
Returns:
AlternateCall
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

4.1.0.610 20071213

Copyright 2004 Avaya Inc All Rights Reserved.