CONSULT_CALL_REQ
The CONSULT_CALL_REQ message, defined in the following tables, requests the combined action of placing an active call on hold and then making a new call.
By default, the call context data of the active call is used to initialize the context data of the consultation call. A client can override some or all of this original call context in the consultation call by providing the desired values in this request.
Fixed part Field name |
Value |
Data type |
Byte size |
---|---|---|---|
InvokeID |
A unique ID generated by the CTI client for each request message. This ID is returned in the corresponding confirmation message. |
UINT |
4 |
reserved |
Set this value to 1. |
UINT |
4 |
ActiveCallID |
The Call ID value assigned to the active call by Unified CCX. |
UINT |
4 |
ActiveConnectionDeviceType |
The connection type of the device supplied in the ActiveConnectionDeviceID floating field. See ConnectionDeviceType Values. |
USHORT |
2 |
reserved |
Set this value to 0. |
USHORT |
2 |
reserved |
Set this value to 0. |
USHORT |
2 |
ConsultType |
Use following values: 0: Unspecified 1: Transfer 2: Conference |
USHORT |
2 |
reserved |
Set this value to 0. |
USHORT |
2 |
reserved |
Set this value to 0. |
USHORT |
2 |
reserved |
Set this value to 0. |
USHORT |
2 |
reserved |
Set this value to 0. |
USHORT |
2 |
reserved |
Set this value to 0. |
BOOL |
2 |
reserved |
Set this value to 0. |
BOOL |
2 |
NumNamedVariables |
The number of NamedVariable floating fields present in the floating part of the message. |
USHORT |
2 |
NumNamedArrays |
The number of NamedArray floating fields present in the floating part of the message. |
USHORT |
2 |
Floating part Field name |
Value |
Data type |
Maximum size | ||
---|---|---|---|---|---|
ActiveConnectionDeviceID[50] (required) |
The device ID of the active call connection. |
STRING |
64 | ||
DialedNumber [11] (required) |
The number to be dialed to establish the new call. |
STRING |
40 | ||
AgentInstrument[6] (optional) |
The phone number of the agent’s IP phone that initiates the new call. |
STRING |
64 | ||
CallVariable1[13] (optional) |
Call-related variable data used in place of the corresponding variable from the active call. |
STRING |
40 | ||
CallVariable2[14].(optional) through CallVariable9[21] (optional) |
… |
… |
… | ||
CallVariable10[22] (optional) |
Call-related variable data that used in place of the corresponding variable from the active call. |
STRING |
40 | ||
CallWrapupData[46] (optional) |
Call-related wrapup data used in place of the corresponding data from the active call.
|
STRING |
40 | ||
NamedVariable[82] (optional) |
Call-related variable data that has a variable name defined in the Unified CCX Editor. See NAMEDVARIABLE Data Format, for the format of this field. |
NAMEDVAR |
251 | ||
NamedArray[83] (optional) |
Call-related variable data that has an array variable name defined in the Unified CCX Editor. See NAMEDARRAY Data Format, for the format of this field.
|
NAMEDARRAY |
252 | ||
AccountCode[78] (optional) |
Account code used by CTI applications. |
STRING |
40 |