A vector variable can be used in the route-to number command to route a call to a destination provided indirectly through user input (collect type), a vdn type (active or latest VDN extension for the call) or from ASAI UUI (user data) associated with the call. This example uses a destination address provided remotely by ASAI UUI included with the call. The variable R defines the portion of the ASAI UUI digit string to use as the route-to number.
Variable |
Description |
Type |
Scope |
Length |
Start |
R |
Alternate route to destination |
asaiuui |
L |
5 |
3 |
You can use the asaiuui type variable R in a vector to route the call to the destination defined by a remote location if the number of staffed agents is less than a certain number. If the number of staffed agents is less than 100, the call is routed to the 5-digit destination indicated in the ASAI UUI, forwarded with the call from the remote location. Otherwise, the call must be put in queue for handling at the current location.
1. wait-time 0 secs hearing ringback
2. goto step 8 if staffed-agents in skill 22 < 100
3. queue-to skill 22 pri l
4. wait-time 6 secs hearing ringback
5. announcement 2001
6. wait-time 60 secs hearing music
7. goto step 3 unconditionally
8. route-to number R
9. goto step 3 unconditionally
At step 8, the variable R is assigned 5 digits of the call's ASAI UUI data digit string starting from digit position 3. This 5-digit number is used as the destination for the route-to command. Step 9 provides backup in case the route-to number command fails due to an empty ASAI UUI digit stream or the number obtained is an invalid destination.
From Avaya Aura® Call Center Elite 7.1 onwards, you can use the agent type variable, by setting an asaiuui variable to the last agent login ID in a VRD vector. By adding the agent identifier in UUI, post call surveys can furnish reports details down to the agent level. You can set an asaiuui variable to the last agent login ID by adding the asaiuui variable to the left of the = operand and the agent variable to the right of the = operand, with the SEL operator and the length specified as operand2.
01 set CH = LA SEL 7 [CH – 'asaiuui' variable, LA – 'agent' variable]