
ASAI Script Builder Actions
The “VIS Data” field returns a value previously saved in the VIS Data field of the A_Tran action in a voice script. If the call was not previously transferred using A_Tran, then a string of length 0 (null value) is returned. For example, a voice script which responds to an incoming call to the VIS (on a channel administered for ASAI) collects information from the caller and saves information in the VIS Data field of the A_Tran action and then uses A_Tran to transfer the call to a domain administered on the VIS. When A_Event reports the Abandon, Connect, or End events (Return Field contains ‘A’, ‘C’, or ‘E’) for that call, this field returns the saved information.
The “Routing ID” field contains a unique number that identifies the route request if A_Event is indicating a route request (that is, the Return Field contains an ‘R’). This number is needed if the A_RouteSel action is used to respond to the route request. If the Routing ID is not known, the value returned is 0.
The “Cause Value” field returns an error cause from the switch if the request to route the call is not successful. Note that the error cause is returned if the Return Field contains a value of “r” or 114 (indicating an ABNORMAL ROUTE END event). Possible error causes include the following:
■“0” — The Destination Number provided in the A_RouteSel action is invalid and does not exist on the switch.
■“1” — The switch is unable to route the call to the Destination Number because the destination is busy (that is, the destination currently has an active call).
■“8” — The call dropped while waiting for a routing response. The caller probably hung up before the call has been routed.
■“12” — The vector processing on the switch encountered steps other than wait, announcement, goto, or stop after the adjunct routing command.
■“13” — Upon routing to the Destination Number (for direct agent call), the Destination Number is not logged in to the specified Split Extension.
■“14” — The Destination Number (for direct agent call) is not a member of the specified Split Extension in the A_RouteSel action.
The “Return Field” contains a return code indicating what type of event (if any) is being reported. If the A_Event action is successful, it returns a number greater than or equal to zero. Refer to Table
■
■