|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.DataObject
com.genesyslab.platform.commons.protocol.Message
com.genesyslab.platform.voice.protocol.tserver.requests.party.RequestRouteCall
public abstract class RequestRouteCall
Routes the call identified to the specified destination. Note: The call specified for function TRouteCall() must be active.
Field Summary | |
---|---|
static int |
ID
|
static java.lang.String |
NAME
|
Method Summary | |
---|---|
static RequestRouteCall |
create()
Creates instance of RequestRouteCall with no parameters set. |
static RequestRouteCall |
create(java.lang.String thisDN,
ConnectionId connID,
java.lang.String otherDN,
RouteType routeType)
Creates instance of RequestRouteCall with required parameters set. |
static RequestRouteCall |
create(java.lang.String thisDN,
ConnectionId connID,
java.lang.String otherDN,
RouteType routeType,
java.lang.String location,
java.lang.String dNIS,
KeyValueCollection reasons,
KeyValueCollection extensions)
Creates instance of RequestRouteCall with all parameters set. |
abstract ConnectionId |
getConnID()
Connection identifier of the current call handled by the DN. |
abstract java.lang.String |
getDNIS()
The Directory Number Information Service. |
abstract KeyValueCollection |
getExtensions()
An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data. |
abstract java.lang.String |
getLocation()
Name of the remote location in the form of `SwitchName` or `T-ServerApplicationName`@`SwitchName`. |
abstract java.lang.String |
getOtherDN()
The other main Directory Number (which your application did not register) involved in this request or event. |
abstract KeyValueCollection |
getReasons()
Additional data intended to specify reasons for and results of actions taken by the user. |
abstract java.lang.Integer |
getReferenceID()
Reference ID of the related request. |
abstract RouteType |
getRouteType()
The type of routing applied to this call. |
abstract java.lang.String |
getThisDN()
The Directory Number (which your application registered) involved in this request or event. |
abstract void |
setConnID(ConnectionId connID)
Connection identifier of the current call handled by the DN. |
abstract void |
setDNIS(java.lang.String dNIS)
The Directory Number Information Service. |
abstract void |
setExtensions(KeyValueCollection extensions)
An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data. |
abstract void |
setLocation(java.lang.String location)
Name of the remote location in the form of `SwitchName` or `T-ServerApplicationName`@`SwitchName`. |
abstract void |
setOtherDN(java.lang.String otherDN)
The other main Directory Number (which your application did not register) involved in this request or event. |
abstract void |
setReasons(KeyValueCollection reasons)
Additional data intended to specify reasons for and results of actions taken by the user. |
abstract void |
setReferenceID(int referenceID)
Reference ID of the related request. |
abstract void |
setReferenceID(java.lang.Integer referenceID)
Reference ID of the related request. |
abstract void |
setRouteType(RouteType routeType)
The type of routing applied to this call. |
abstract void |
setThisDN(java.lang.String thisDN)
The Directory Number (which your application registered) involved in this request or event. |
Methods inherited from class com.genesyslab.platform.commons.protocol.Message |
---|
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription |
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject |
---|
equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ID
public static final java.lang.String NAME
Method Detail |
---|
public static RequestRouteCall create()
public static RequestRouteCall create(java.lang.String thisDN, ConnectionId connID, java.lang.String otherDN, RouteType routeType, java.lang.String location, java.lang.String dNIS, KeyValueCollection reasons, KeyValueCollection extensions)
thisDN
- DN of the controlling agent or Route Point.connID
- Connection identifier of the current call handled by the DN.otherDN
- The directory number of the second most significant telephony object (except an ACD group or trunk group) with respect to the event in question. The application does not have to be registered to this directory number to receive the event in question.routeType
- The type of routing applied to this call.location
- Name of the remote location in the form of `SwitchName` or `T-ServerApplicationName`@`SwitchName`.dNIS
- The Directory Number Information Service (the DN to which the inbound call in question has been made).reasons
- Additional data intended to specify reasons for and results of actions taken by the user.extensions
- An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data.
public static RequestRouteCall create(java.lang.String thisDN, ConnectionId connID, java.lang.String otherDN, RouteType routeType)
thisDN
- DN of the controlling agent or Route Point.connID
- Connection identifier of the current call handled by the DN.otherDN
- The directory number of the second most significant telephony object (except an ACD group or trunk group) with respect to the event in question. The application does not have to be registered to this directory number to receive the event in question.routeType
- The type of routing applied to this call.
public abstract java.lang.Integer getReferenceID()
public abstract void setReferenceID(java.lang.Integer referenceID)
public abstract void setReferenceID(int referenceID)
public abstract java.lang.String getThisDN()
public abstract void setThisDN(java.lang.String thisDN)
public abstract ConnectionId getConnID()
public abstract void setConnID(ConnectionId connID)
public abstract java.lang.String getOtherDN()
public abstract void setOtherDN(java.lang.String otherDN)
public abstract RouteType getRouteType()
public abstract void setRouteType(RouteType routeType)
routeType
- new value of the propertypublic abstract java.lang.String getLocation()
public abstract void setLocation(java.lang.String location)
location
- new value of the propertypublic abstract java.lang.String getDNIS()
public abstract void setDNIS(java.lang.String dNIS)
public abstract KeyValueCollection getReasons()
public abstract void setReasons(KeyValueCollection reasons)
reasons
- new value of the propertypublic abstract KeyValueCollection getExtensions()
public abstract void setExtensions(KeyValueCollection extensions)
extensions
- new value of the property
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |