The “Called Party Number” field stores the called party number. The value returned in the Called Party Number field can be up to 20 characters in length. If the Called Party Number is not known, a string of length 0 (null value) is returned.
The “Switch Data” field stores up to 16 characters. If the switch prompts the caller for touch-tone digits, the digits are returned in the Switch Data field. If no digits are collected by the switch, a string of length 0 (null value) is returned.
The “Trunk Group Id” field indicates whether the incoming call was routed from a non-ISDN trunk on the switch. If the call was not placed through a trunk, the value returned is 0.
The “Call Id” field stores the Call Id (assigned by the switch) that identifies the incoming call. If the Call Id is not known, the value returned is 0.
The “Cause Value” field returns an error cause if the request for call information is not successful. Note that the error cause is returned if the Return Field contains a value of -3. Refer to VIS value column in Table D-6 in Appendix D, “Troubleshoot- ing ASAI” for a complete listing of cause values.
The “Return Field” holds the return status of the A_Callinfo action. If the
A_Callinfo action is successful, it returns a number greater than or equal to zero. If A_Callinfo is unsuccessful, it returns one of the following negative values:
■ -3 — ASAI could not process the request for information. Check the Cause Value field for information on why the request failed.
■-1 — A_Callinfo could not send the request for call information. Check the Message Log Report for system errors. Refer to Chapter 4, “Reports Administration” in the CONVERSANT Voice Information System Opera- tions for additional information.
■-2 — A_Callinfo did not receive a response from the ASAI for the request for information. Check to see if the ASAI system is running.
■-4 — ASAI link is down and call information cannot be received from the switch. Refer to Appendix D, “Troubleshooting ASAI” for information on troubleshooting the ASAI digital link.
■-5 — Illegal request. The call is not being monitored so no call information is available. Make certain that A_Callinfo is only being used in a script assigned to a VIS agent line and that the domain with which the call is associated is being monitored by the VIS. Refer to Chapter 4, "ASAI Administration" for information on Channel Administration and Domain Administration, including how to monitor a channel.
■-6 — Switch did not respond with the call information.
After the user-defined entries for the Define A_Callinfo screen are completed, press CLOSE to update the “External Action: A_Callinfo” action step in the Define Transaction list.