UnQueue

VCS only.

This block immediately removes a call from queue.

An example of how this may be used is to unqueue the call in MusicOnHoldWhileInQueue and add a skill that causes the call to be rejected when requeued. The CallRejected script can send the call to voicemail and remove the skill just added.

Note

Unqueue and Requeue requests are sent to the Call Matcher only when all of the following criteria are met:

  • The call is in the appropriate state (waiting for agent ring)
  • The script is in MusicOnHoldInQueue, InqueueTimeout, or PickupTimeout
  • The media is voicecall
  • The Unqueue and Requeue blocks are paired in the script (for each Unqueue there's an appropriate Requeue in the script)

For any other situation, the VCS log indicates that a particular Unqueue or Requeue request was ignored due to the given reason, however, the script execution continues to the next block.

See also unQueue and reQueue.