Queues don't process the dial-plan, period. When you pass a call to a queue, it's either going to be answered by an available agent, or stay in the queue until the queue time-out has been reached. As you have already seen, the agent time-out value will automatically log out an agent who doesn't answer a call within the time-out period. Once that happens, the queue tries the next available agent. I've got the queue time-out set to 0 (meaning it never times out) and the agent time-out set to 20 (rings an agent for 20 seconds, which is usually about four rings). That way if there is a call in the queue, but no agents are logged in, one can log in and take the call. We use the Flash Operator Panel to identify who is logged in, and how many calls are in the queue.

I have found, however that not using the agent time-out is bad because the queue continues to send a caller to the same agent, even though that agent isn't at his/her desk to answer the call. Automatically logging that agent out allows the call to be passed to the next available agent.

Douglas Garstang wrote:

I don't see why I'd be getting CHANUNAVAIL. As I said, all the agents are 
logged in and are in astdb and 'sip show peers'.

I just had another go, I passed a timeout of 300 to the Queue() command and set 
timeout=30 in queues.conf for the queue. The Queue timed out after TWO minutes 
(120s) and only rang 4 of the 6 agents (30s each). It also then did not 
continue execution at the next priority in the dial plan.

I also tried with a timeout of 300 passed to Queue() but a timeout of 15 in 
queues.conf. It rang ALL 6 agents for 15s each. This is well below the queue 
timeout of 300s, but at this point it stopped, and didn't continue at the next 
priority in the dialplan.

See what I mean?

If I go and change some timeouts around, the behaviour becomes equally screwy, 
but for a different reason.

Yeah I saw that link earlier today.... based on the results I'm getting it 
isn't much help,

Doug.



-----Original Message----- From: CC Jay [mailto:[EMAIL PROTECTED] Sent: Thu 3/23/2006 10:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [Asterisk-Users] Tearing my hair out with Queues
        
        
        "300" is the maximum time a call can be placed in a queue, after that, 
next priority will be executed.
        "15" is the time each agent will be rung before * tries the next agent.
"CHANUNAVAIL" happens since Queue rings Agent/xyz, Agent/xyz in turn tries to ring SIP/abc but cannot find it, hence...
        BTW, you may find this helpful: 
http://www.oinko.net/astrecipes/index.php?n=118
        
        Cheers
        

------------------------------------------------------------------------

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to