Route based on current queeue hold time

Custom Script:
You could write a script, or do a in-dialplan shell/bash command that greps out the wait time and stores it as a channel variable.

Then use the channel variable to do a gotoif (if QWT is > x, etc.)