![](/images/new-backgrounds/1202841/202841185x1.webp)
ASAI Script Builder Actions
Table 6-4. A_Event Fields
Field | Input/Output | Required? | Field Type | Field Size | |
|
|
|
|
|
|
|
|
|
|
|
|
Connected Number | output | required | char | 20 |
|
|
|
|
|
|
|
Calling Party Number | output | 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 | – | |
|
|
|
|
|
|
Other Call Id | output | required | num | – | |
|
|
|
|
|
|
LAI Display Info | ouput | required | char | 15 |
|
|
|
|
|
|
|
VIS Data | output | required | char | 20 |
|
|
|
|
|
|
|
Routing Id | output | reuired | num | – | |
|
|
|
|
|
|
Cause Value | output | required | num | – | |
|
|
|
|
|
|
Return Field | ouput | optional | num | – | |
|
|
|
|
|
|
|
|
|
|
|
|
Defining A_RouteSel
The A_RouteSel action is used to send an ASAI route message to the PBX. The A_RouteSel action is used in conjunction with the A_Event action and may be used to construct scripts assigned to RTE type domains. Note that the A_RouteSel action should not be used in scripts assigned to Control (CTL), Auto- matic Call Distribution (ACD), and Vector Directory Number (VDN) type domains and may not be used in voice scripts.
To add A_RouteSel to a transaction while defining an application in Script Builder, press ADD. The Action Choices screen opens. Highlight “A_RouteSel,” then press ENTER . Press CANCEL to exit from the Action Choices screen.
You must now define the A_RouteSel step further. In the Define Transaction screen, highlight “External Action: A_RouteSel,” then press DEFINE. The Define A_RouteSel screen opens.