cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
485
Views
0
Helpful
1
Replies

UCCX :Position in Queue issues after RNA

nareh84
Level 3
Level 3

 

hi all,


I made a script and when the call is in queue, it announce the position of the call in queue. but when the same call gets connected to the Agent and Agent doesn't pick up the call (RNA) the call goes back into queue and incorrectly mention the position. Can i retain that position if the call comes back into queue.  has somebody faced the same issue and resolved it??.


Regards

1 Accepted Solution

Accepted Solutions

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

I would simply store the value returned from the 'get reporting step' each time it comes round in a variable e.g. call this 'lastPositionInQueue'

Then, when reading a new position in queue, put it first in 'currentPositionInQueue'.

Now, only play out 'currentPositionInQueue' if it is < lastPositionInQueue, otherwise playout 'lastPositionInQueue'.

This way, it should decrease normally, but if it does not, or increases, the caller will not know about it. 

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

View solution in original post

1 Reply 1

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

I would simply store the value returned from the 'get reporting step' each time it comes round in a variable e.g. call this 'lastPositionInQueue'

Then, when reading a new position in queue, put it first in 'currentPositionInQueue'.

Now, only play out 'currentPositionInQueue' if it is < lastPositionInQueue, otherwise playout 'lastPositionInQueue'.

This way, it should decrease normally, but if it does not, or increases, the caller will not know about it. 

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!