This is an excerpt from a script we have. Basically as it was explained to me, this loop executes to check if there has been a firedrill (zero available agents) while the caller is queued. My question is won't this re-queue the caller and reset their position in the queue?
Code:
SECTION QUEUECALL
if out of service xyz_Skillset
then
execute firedrill
else
queue to skillset xyz_Skillset with priority 1
end if
wait 2
give music mus_rt
wait 120
execute queuecall
SECTION FIREDRILL
open voice session access_dn
play prompt voice segment firedrill_mess
end voice session
disconnect