Kind of the direction I was thinking of. 1 of 2 options -
- get the upique place, determine the average call handle time, calculate the time the call should happen. Then give the call back that preferred time. Give the call back queue higher priority.
-second one is fancier and I would have to play but get position in queue, get the global call id of the call before it. Use a upique port to continue to monitor the call ahead, when call is upique 1 fire the call back routine.
I think the first option is safer and will more or less be around the right spot.