Get Metrics for current media session
None
| 1. | Queue Position | (Mandatory) | The position of the session within the queue. This is only indicative as BI-based routing can change the order of dequeue. |
| 2. | Average Wait | (Mandatory) | The average waiting time for sessions in this queue to be answered |
| 3. | Estimated Wait | (Mandatory) | The current estimated time to connect this session with an agent |
Fig. 1 - Get Metrics for current media session - Inputs
| 1. | Next | |
| 2. | Fail |
Usage Example
- A voice artist is recorded saying the number “five” (and all other numbers). This recording is then stored in Repository with the name 5.wav.
- Using this step, Queue Position is assigned to a variable named var:queuepos.
- The variable queuepos might contain the number 5.
- Using the Play Recording step, the recording 5.wav is played by setting the step to play var:queuepos.