Route_Request_Event

This function is invoked to determine how to transfer a call. It is issued before a TransferCall action.

For more information on using ECC variables, see Expanded Call Context Variables.

SendData

CallID (number)
The ICM call variables that are associated with the call can be updated in two ways depending on the value of CallID.
  1. If a CallID that was obtained through Get_CallID is specified, those ICM call variables that have new values specified in the CallVariable arguments are updated.
  2. If a CallID value of -1 is specified, those ICM call variables that have new values specified in the CallVariable arguments are updated, and the remaining ICM call variables are set to the null string.
CrossRefID (number)
Set to identify the routing dialog. To avoid duplicate cross references being used at the same time, use Get_CallID to generate a unique cross reference.
DialedNumber (string[40])
Set to SV185.
ANI (string[40]) (optional)
Set to SV186. If there is no ANI, SV186 will contain ’?’ and will be treated by the custom server as an empty string.
CED (string[40]) (optional)
Set to the caller-entered digits.
CallVariable1 (string[40]) (optional)
Set to a user-defined value.
CallVariable... (string[40]) (optional)
Set to a user-defined value.
CallVariable10 (string[40]) (optional)
Set to a user-defined value.
ECCVarValueTag1 (number)(optional)
The numeric tag value by which this variable is identified.
ECCVarValueString1 (string[210]))(optional)
Call related data.
ECCVarValueTag... (number)(optional)
The numeric tag value by which this variable is identified.
ECCVarValueString... (string[210]))(optional)
Call related data.
ECCVarValueTag5 (number)(optional)
The numeric tag value by which this variable is identified.
ECCVarValueString5 (string[210]))(optional)
Call related data.
ECCVarArrayTag1 (number)(optional)
The numeric tag value by which this variable is identified.
ECCVarArrayIndex1 (number)(optional)
A numeric array index identifier.
ECCVarArrayString1(string[210])(optional)
Call related data.
ECCVarArrayTag... (number)(optional)
The numeric tag value by which this variable is identified.
ECCVarArrayIndex... (number)(optional)
A numeric array index identifier.
ECCVarArrayString... (string[210])(optional)
Call related data.
ECCVarArrayTag5 (number)(optional)
The numeric tag value by which this variable is identified.
ECCVarArrayIndex5 (number)(optional)
A numeric array index identifier.
ECCVarArrayString5 (string[210])(optional)
Call related data.

ReceiveData

Status (number)
A value in the list of status codes that is given in Event Data Feed and Call Routing Interface Status Codes.