|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcisco.uc.cuae.legacy.CallControl.MakeCallOptions
public static class CallControl.MakeCallOptions
| Field Summary | |
|---|---|
java.lang.Boolean |
conference
Indicates that this call is to be placed in a conference. |
java.lang.String |
conferenceId
The ConferenceId of the conference to add this call to. |
java.lang.Boolean |
hairpin
Indicates that the new conference should be optimized for two parties. |
java.lang.Long |
mmsId
The ID of the media engine to create the connection on. |
java.lang.String |
peerCallId
The CallId of an unanswered incoming call that has triggered a script instance via the IncomingCall event. |
java.lang.String |
proxyDTMFCallId
The CallId to establish a proxy relationship with. |
java.lang.Integer |
timeout
The Timeout property specifies to the Application Runtime Environment how long to wait for a response from the provider for the current action. |
CallControl.WaitForMedia |
waitForMedia
Indicates what degree of media negotiation must be established before the call is considered completed. |
| Constructor Summary | |
|---|---|
CallControl.MakeCallOptions()
Constructs the MakeCallOptions. |
|
CallControl.MakeCallOptions(java.lang.Long mmsId,
java.lang.String peerCallId,
java.lang.String proxyDTMFCallId,
CallControl.WaitForMedia waitForMedia,
java.lang.Boolean conference,
java.lang.String conferenceId,
java.lang.Boolean hairpin,
java.lang.Integer timeout)
Constructs the MakeCallOptions. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getConference()
Gets the value. |
java.lang.String |
getConferenceId()
Gets the value. |
java.lang.Boolean |
getHairpin()
Gets the value. |
java.lang.Long |
getMmsId()
Gets the value. |
java.lang.String |
getPeerCallId()
Gets the value. |
java.lang.String |
getProxyDTMFCallId()
Gets the value. |
java.lang.Integer |
getTimeout()
Gets the value. |
CallControl.WaitForMedia |
getWaitForMedia()
Gets the value. |
void |
setConference(java.lang.Boolean value)
Sets the value. |
void |
setConferenceId(java.lang.String value)
Sets the value. |
void |
setHairpin(java.lang.Boolean value)
Sets the value. |
void |
setMmsId(java.lang.Long value)
Sets the value. |
void |
setPeerCallId(java.lang.String value)
Sets the value. |
void |
setProxyDTMFCallId(java.lang.String value)
Sets the value. |
void |
setTimeout(java.lang.Integer value)
Sets the value. |
void |
setWaitForMedia(CallControl.WaitForMedia value)
Sets the value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Long mmsId
public java.lang.String peerCallId
public java.lang.String proxyDTMFCallId
public CallControl.WaitForMedia waitForMedia
public java.lang.Boolean conference
public java.lang.String conferenceId
public java.lang.Boolean hairpin
public java.lang.Integer timeout
| Constructor Detail |
|---|
public CallControl.MakeCallOptions()
public CallControl.MakeCallOptions(java.lang.Long mmsId,
java.lang.String peerCallId,
java.lang.String proxyDTMFCallId,
CallControl.WaitForMedia waitForMedia,
java.lang.Boolean conference,
java.lang.String conferenceId,
java.lang.Boolean hairpin,
java.lang.Integer timeout)
mmsId - The ID of the media engine to create the connection on. If no MmsId is
mmsId specified when using MakeCall, a media engine with the most available
mmsId resources is dynamically selected from the Media Resource Group associated
mmsId with the partition of the script instance from which MakeCall is invoked.
mmsIdpeerCallId - The CallId of an unanswered incoming call that has triggered a script
peerCallId instance via the IncomingCall event. Once the call placed by this MakeCall
peerCallId is completed, the call specified by this action parameter is automatically
peerCallId answered by the application server and the media streams are established in
peerCallId a peer-to-peer relationship.
peerCallIdproxyDTMFCallId - The CallId to establish a proxy relationship with. Any digits received on
proxyDTMFCallId one call leg will be proxied to the other. If ProxyDTMFCallId is not set
proxyDTMFCallId and PeerCallId is, then the call specified by PeerCallId will be used for
proxyDTMFCallId this action parameter.
proxyDTMFCallIdwaitForMedia - Indicates what degree of media negotiation must be established before the
waitForMedia call is considered completed. A completed call results in the
waitForMedia MakeCall_Complete event being fired. Valid values are as follows:
waitForMedia
waitForMedia None - Indicates that the call should be considered completed as soon as
waitForMedia the call control signaling has indicated that the call is
waitForMedia answered, regardless of the state of media negotiation.
waitForMedia Tx - Indicates that the call should be considered completed as soon as
waitForMedia the call control signaling has indicated that the call is answered
waitForMedia and the remote endpoint has specified the properties of the audio
waitForMedia stream that it wants transmitted to it.
waitForMedia Rx - Indicates that the call should be considered completed as soon as
waitForMedia the call control signaling has indicated that the call is answered
waitForMedia and the application server has specified the properties of the audio
waitForMedia stream that it wants transmitted to the media engine.
waitForMedia TxRx - Indicates that the call should be considered completed as soon as
waitForMedia the call control signaling has indicated that the call is
waitForMedia answered, the remote endpoint has specified the properties of the
waitForMedia audio stream that it wants transmitted to it, and the application
waitForMedia server has specified the properties of the audio stream that it
waitForMedia wants transmitted to the media engine.
waitForMedia
waitForMedia Note that depending on the value chosen, MakeCall_Complete event parameters
waitForMedia relating to the negotiated media information may not be valid yet because
waitForMedia the media negotiation may not yet be completed.
waitForMediaconference - Indicates that this call is to be placed in a conference. If a ConferenceId
conference is not specified or is set to 0, then a new conference is created on the
conference media engine and the ConferenceId in the MakeCall_Complete event is the
conference unique identifier for that new conference (assuming WaitForMedia is the
conference default TxRx). If a ConferenceId is specified, then the connection created
conference for this call is moved into the existing conference as soon as the media
conference channels for the call have been fully established.
conferenceconferenceId - The ConferenceId of the conference to add this call to. Specify no value or
conferenceId 0 if this is to be a new conference. This field is ignored if Conference is
conferenceId false.
conferenceIdhairpin - Indicates that the new conference should be optimized for two parties. A
hairpin hairpinned conference does not use any conference resources. However, a
hairpin hairpin conference will be 'promoted', or converted to a true media
hairpin conference, if a 3rd participant is added to the conference or if a voice
hairpin operation is performed on the conference itself. In either case, this will
hairpin cause each participant and conferenced voice operation to use one
hairpin conference resource. True conferences also have a slightly increased
hairpin latency over a hairpinned conference.
hairpintimeout - The Timeout property specifies to the Application Runtime Environment how
timeout long to wait for a response from the provider for the current action. The
timeout ReturnValue returned in this case is 'Timeout'. The value must be a literal
timeout value in milliseconds.
timeout| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Long getMmsId()
public void setMmsId(java.lang.Long value)
value - the value.public java.lang.String getPeerCallId()
public void setPeerCallId(java.lang.String value)
value - the value.public java.lang.String getProxyDTMFCallId()
public void setProxyDTMFCallId(java.lang.String value)
value - the value.public CallControl.WaitForMedia getWaitForMedia()
public void setWaitForMedia(CallControl.WaitForMedia value)
value - the value.public java.lang.Boolean getConference()
public void setConference(java.lang.Boolean value)
value - the value.public java.lang.String getConferenceId()
public void setConferenceId(java.lang.String value)
value - the value.public java.lang.Boolean getHairpin()
public void setHairpin(java.lang.Boolean value)
value - the value.public java.lang.Integer getTimeout()
public void setTimeout(java.lang.Integer value)
value - the value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||