[Asterisk-Users] Is there a MaxQueueTime for Queues ?

Bill Hamel asterisk at hamel.net
Sat Feb 14 10:38:44 MST 2004


Hi,

Is it possible to kick a caller out of a queue after 5 minutes and goto the
next priority in the context where they were assigned to the queue ?

My desired result is that even though one agent is dynamically logged into the
queue and is on a call, I would like the 2nd caller to stay in the queue for 5
minutes and then timeout to the next priority if the agent is still busy and
can't get to the call.

Some observations:
I have tried the "n" option with "queue" (if I don't the 2nd caller will stay in
the queue infefinately) eg:

exten => 401,1,Queue(support1|n)

The problem with using "n" is that with one agent logged into the queue and he
is "busy" on a call, when the 2nd call is placed in the queue it immediately
timesout and goes to the next priority in the context even if timeout=300 is
set in queue.conf.

Any help appreciated.
-bh

Here are the configs:

extensions.conf
[supportq]
exten => 401,1,  Queue(support1|t)

agents.conf
[agents]
autologoff=15
ackcall=no
;wrapuptime=5000
musiconhold => default

queues.conf
general]
[support1]
music = default
strategy = leastrecent
;context = leavemessage
timeout = 300
retry = 2
maxlen = 0





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-- 
This message has been scanned for viruses and
dangerous content by the Bugs.Hamel.Net MailScanner, 
and appears to be clean.




More information about the asterisk-users mailing list