The variable is the position of the current call in the queue that it is in.
If the call is not in a queue it has no value. For a call that is in a queue the following will return True if this call is in position 2
If you are wanting to offer a call back and are using the "Test Condition of Queue" see doc here this will return an outcome of the test but it does not fill the $queuePosition variable.
You can do this while not yet in a queue or you could even be testing a different queue. You may even want to test before putting the caller into a queue.
------------------------------
Oisin Glynn
------------------------------
Original Message:
Sent: 02-06-2023 06:34
From: Rudy Olgin
Subject: Call Back added to our 8x8 IVR but $QueuePosition variable not working correctly
We are adding the Call Back functionality to our main IVR script and want to let the caller know their position in the queue with the variable '$QueuePosition' but it does not update correctly. I can stack 10 test calls in our TEST queue and everytime the automated '$QueuePosition' played for caller is - your queue position is '1'.
Any tricks/recommendations for making the '$QueuePosition' variable work correctly?
Any help would be greatly appreciated.
------------------------------
Rudy Olgin
------------------------------