Hi list, I'd like to have the callers to listen to the advertisement (music on hold) before the agents answer them. So, I have wrapuptime=10 in queue.conf, but the call still goes straight to the agents without delay. Here's my queue.conf: [general] persistentmembers = yes [738] musiconhold = empty ;musiconhold = default ;announce = q-738 ;strategy = ringall strategy = rrmemory servicelevel = 60 ;announce-frequency = 60 ;periodic-announce-frequency=60 ;announce-holdtime = yes|no|once ;announce-holdtime = yes ;announce-round-seconds = 10 ; ; A context may be specified, in which if the user types a SINGLE ; digit extension while they are in the queue, they will be taken out ; of the queue and sent to that extension in this context. ;context = qoutcon timeout = 10 retry = 2 ; ;weight=0 ; ; After a successful call, how long to wait before sending a potentially ; free member another call (default is 0, or no delay) wrapuptime=10 ; maxlen = 0 ;-------------------------------------------------------------------- ; How often to announce queue position and/or estimated holdtime to caller (0=off) ;announce-frequency = 60 ; How often to make any periodic announcement (see periodic-announce) ;periodic-announce-frequency=60 ; ; Should we include estimated hold time in position announcements? ; Either yes, no, or only once. ; Hold time will be announced as the estimated time, ; or "less than 2 minutes" when appropriate. ;announce-holdtime = yes|no|once ; ; What's the rounding time for the seconds? ; If this is non-zero, then we announce the seconds as well as the minutes ; rounded to this value. ; announce-round-seconds = 10 ; ; Use these sound files in making position/holdtime announcements. The ; defaults are as listed below -- change only if you need to. ; queue-youarenext = queue-youarenext ; ("You are now first in line.") queue-thereare = queue-thereare ; ("There are") queue-callswaiting = queue-callswaiting ; ("calls waiting.") queue-holdtime = queue-holdtime ; ("The current est. holdtime is") queue-minutes = queue-minutes ; ("minutes.") queue-seconds = queue-seconds ; ("seconds.") queue-thankyou = queue-thankyou ; ("Thank you for your patience.") queue-lessthan = queue-less-than ; ("less than") queue-reporthold = queue-reporthold ; ("Hold time") periodic-announce = queue-periodic-announce ; ("All reps busy / wait for next") reportholdtime = no ; before the member hears any announcement messages), set this to the number of ; seconds to delay. ; memberdelay=1 ; ; If timeoutrestart is set to yes, then the timeout for an agent to answer is ; reset if a BUSY or CONGESTION is received. This can be useful if agents ; are able to cancel a call with reject or similar. ; ; timeoutrestart = no ; ; Each member of this call queue is listed on a separate line in ; the form technology/dialstring. "member" means a normal member of a ; queue. An optional penalty may be specified after a comma, such that ; entries with higher penalties are considered last. ; ;member => Zap/1 ;member => Zap/2 member => Agent/151 member => Agent/152 member => Agent/153 member => Agent/154 member => Agent/155 member => Agent/156 member => Agent/157 member => Agent/158 ;member => Agent/101 ;member => Agent/102 ;member => Agent/103 ; ; Note that using agent groups is probably not what you want. Strategies do ; not propagate down to the Agent system so if you want round robin, least ; recent, etc, you should list all the agents in this file individually and not ; use agent groups. ; ;member => Agent/@1 ; Any agent in group 1 ;member => Agent/:1,1 ; Any agent in group 1, wait for first ; available, but consider with penalty [vip] musiconhold = default announce = Q-vip strategy = rrmemory servicelevel = 60 timeout = 10 retry = 2 weight=5 wrapuptime=0 maxlen = 0 ;-------------------------------------------------------------------- announce-frequency = 60 ;periodic-announce-frequency=60 announce-holdtime = yes announce-round-seconds = 10 queue-youarenext = queue-youarenext ; ("You are now first in line.") queue-thereare = queue-thereare ; ("There are") queue-callswaiting = queue-callswaiting ; ("calls waiting.") queue-holdtime = queue-holdtime ; ("The current est. holdtime is") queue-minutes = queue-minutes ; ("minutes.") queue-seconds = queue-seconds ; ("seconds.") queue-thankyou = queue-thankyou ; ("Thank you for your patience.") queue-lessthan = queue-less-than ; ("less than") queue-reporthold = queue-reporthold ; ("Hold time") ;periodic-announce = queue-periodic-announce ; ("All reps busy / wait for next") ; reportholdtime = no ; ;;memberdelay=1 ;; timeoutrestart = no ; member => Agent/151 member => Agent/152 member => Agent/153 member => Agent/156 ;;member => Agent/202 ;;member => Agent/203 Thanks in advance for any help. Andy
Barry L. Kline
2009-Aug-27 18:56 UTC
[asterisk-users] how does "wrapuptime" work in queue.conf
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andy Kuo wrote:> Hi list, > > I'd like to have the callers to listen to the advertisement (music on > hold) before the agents answer them. So, I have wrapuptime=10 in > queue.conf, but the call still goes straight to the agents without > delay. > >Andy -- wrapuptime is the number of seconds that Asterisk waits between the time a agent hangs up with a caller and the next time that Asterisk sends a call to the newly-available agent. "Wrap up time" gives the agent a few moments to complete his last call and prepare for the next. What you need to do is use Playback() for your advertisement, then Queue() the call. Otherwise it acts just as you said, provided an agent is available. Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFKltbjCFu3bIiwtTARAjE0AKCGFEchqYoGWyaeHqlIH+iNyzBKygCgqibn X/gSnE7W7EHnwiUpRC1FLRs=pdMh -----END PGP SIGNATURE-----