AT&T 585-350-812 User Manual

Page of 110
6-2
ASAI Script Builder Actions
Defining A_Callinfo
The A_Callinfo action is used to access call information obtained from ASAI for a 
call on a VIS Agent line.  The A_Callinfo action returns the Calling Party Number 
and Called Party Number associated with an incoming call to the transaction 
script environment. The A_Callinfo action also returns a Call ID which identifies 
the call.  In addition, if touch-tone digits entered by the caller have been collected 
by the switch, A_Callinfo returns these digits. If the call was delivered to a switch 
through a trunk and Automatic Number Identification (ANI) information for the call 
is not available, the Trunk Group Id is returned instead of the Calling Party Num-
ber. 
To add A_Callinfo to a transaction while defining an application in Script Builder, 
press  ADD.  The Action Choices screen opens.  In the Action Choices screen, 
highlight “A_Callinfo”, then press  
. Press  CANCEL  to exit from the Action 
Choices screen.  You must now define the A_Callinfo step further.  In the Define 
Transaction screen, highlight “External Action:  A_Callinfo,” then press DEFINE.  
The Define A_Callinfo screen opens. 
Figure 6-1.
Define A_Callinfo Form Screen def_acall.ps
Each of the fields in the Define A_Callinfo screen must contain a field name which 
returns the following information. Refer to Table 6-1 for a summary of the informa-
tion in each of these fields.
!
CAUTION
:
You should specify only ‘num’ field types for those fields in the Define 
A_Callinfo screen that return numbers, that is, specify ‘num’ fields or con-
stants for those fields that are of type ‘num.’ 
The “Calling Party Number” field stores the calling party number. The value 
returned in the Calling Party Number field can be up to 20 characters in length.  If 
the A_Callinfo action is successful, this field contains the calling party number.  If 
the calling party number is not known or the call was routed from a non-ISDN 
trunk, a string of length 0 (null value) is returned.
ENTER