6-5
ASAI Script Builder Actions
You must now define the A_Event step further. In the Defi ne Transaction screen,
highlight “External Action: A_Event,” then press DEFINE. Th e Define A_Event
screen opens.
Figure 6-2. Define A_Event From Screen
Each of the fields in the Define A_Event screen must contain a field name which
returns the following information. Refer to Table 6-4 f or 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_Event screen that return numbers, that is, specify ‘num’ fields or constants

for those fields that are of type ‘num.’

The “Connected Party Number” field returns a number or extension, depending on
the event being reported. For the ‘C’ (Connect) event, the field returns the alerted
extension (answering extension) if the ‘C’ event is triggered on the alerting or con-
nect message from the switch. If A_Event indicates the call has ended (the
Return Field returns a value of ‘E’), the Connected Party Number field contains
the number of the last connected or alerted party. If A_Event indicates the call is
abandoned (the Return Field returns a value of ‘A’), the Connected Party Number
field returns an alerted agent extension or a string of length 0 (null value) depend-
ing on when the call was abandoned. If the call was abandoned before agent
selection, the Connected Party Number field returns a string of length 0 (null
value). If the call was abandoned after agent selection, the Connected Party
Number field returns the extension of the agent that was alerted for the call prior
to the abandon. If the connected party number is not known, a string of length 0
Phone number: _________
Define A_Event
Connected Party Number: ____________________
Calling Party Number: ____________________
Called Party Number: ____________________
Switch Data: ____________________
Trunk Group Id: ____________________
Call Id: ____________________
Other Call Id: ____________________
LAI Display Info: ____________________
VIS Data: ____________________
Cause Value: ____________________
Cause Value: ____________________
Return Field: ____________________
HELP CHOICES CLOSE REDRAW CANCEL
Enter a field name to store the connected party number.