Obtaining the average wait time for call queues