On Fri, 2003-09-05 at 14:05, Brian West wrote: > A friend and I have recently added the ability to announce the callers > position in the call queue every x seconds.. or even just inject an > anouncement every x seconds. All setup in queues.conf and can be setup > per queue. > > My next project is to add the ability to announce the callers estimated > wait time. I want some feedback to see whats the best method to calculate > that? What do you want just minutes? or minutes and seconds? Or the > option to use one or the other? > > I'm thinking (totaltime / totalcalls) - (now - qe->start) = current > estimated wait time. Which would update after each call is hungup.
I do not use queues, so accept my comments as only an opinion of how I would like to experience them if I where a person in a queue. Your wait time is not very accurate unless you have sufficiently large enough pools of people to service them to offset little abnormalities. So I would say it would be good to define an acceptable list of announcements, then round up to the first available announcement and play from there. Have to look up be something like... under 3 minutes under 5 minutes under 8 minutes under 10 minutes under 15 minutes under 20 minutes If I ever heard a time over 20 minutes I'd hang up and call back later, or stop doing business with the company. This limits down your number of prompts and lowers the expectation of wait time accuracy. -- Steven Critchfield <[EMAIL PROTECTED]> _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
