![](/images/new-backgrounds/1202841/202841171x1.webp)
ASAI Script Builder Actions
Table
Field | Input/Output | Required? | Field Type | Field Size |
|
|
|
|
|
|
|
|
|
|
|
|
|
Calling Party Number | ouput | required | char | 20 |
|
|
|
|
|
|
|
Called Party Number | output | required | char | 20 |
|
|
|
|
|
|
|
Switch Data | output | required | char | 16 |
|
|
|
|
|
|
|
Trunk Group ID | output | required | num | – |
|
|
|
|
|
|
|
Call Id | output | required | num | – |
|
|
|
|
|
|
|
Cause Value | output | required | num | – |
|
|
|
|
|
|
|
Return Value | output | optional | num | – |
|
|
|
|
|
|
|
|
|
|
|
|
|
Defining A_Event
The A_Event action retrieves information related to a call being monitored by an ASAI domain. This action must be used with all scripts assigned to a domain. (Refer to Chapter 4, "ASAI Administration" for information on administering a domain). The A_Event action can return the following types of events:
■Abandon Events — a monitored call is dropped or caller hung up
■Connect Events — a monitored call is being delivered to an agent
■End Events — a monitored call has ended normally (that is, not aban- doned)
■Route Request Events — a switch has requested routing for a particular call
■Abnormal Route End Events — the switch is reporting that the routing failed due to some reason specified in the Cause Value field.
!CAUTION:
The A_Event action should not be used in a script assigned to a voice chan- nel.
To add A_Event to a transaction while defining an application in Script Builder, press ADD. The Action Choices screen opens. Highlight “A_Event,” then press ENTER . Press CANCEL to exit from the Action Choices screen.