Have you tried putting a Local channel for the dynamic agent and, after the dial() tries for 20 seconds, you perform a dynamic agent logoff. Not sure if this will cause deadlocks, removing a dynnamic agent while he's being called, but maybe worth trying.
Just my two (euro)cents,
l.




On Wed, 06 Dec 2006 14:36:59 +0100, Chris Blunt <[EMAIL PROTECTED]> wrote:

Hi list,


Using Asterisk 1.2.10


I am getting seriously confused by Queues and Agents.


So far I configured my queue and agents, had my agents login using
agentcallback.

Call enters queue agent gets a call, if agent doesn't answer after 20
seconds a flag is set in AstDB (thanks to: Leo Ann Boon), call is returned
to queue and the cycle continues.  If the same agent doesn't answer twice
they are logged out and the call is again returned to the queue


Now I want the queued call to fall out of the queue if there are no agents
logged in.


My Googling and searching of the wiki hints at using "leavewhenempty=yes"
Unfortunately this seems to be unsupported when used with agentcallback.


Further research suggested using dynamic queue members, where by a queued
call addresses the dynamic member directly by channel avoiding the dialplan
altogether.  I have now tried this approach, but my agents are not being
logged off automatically using autologoff=20.


Any help to easy my lack of sanity would be greatly appreciated


Best regards,


Chris




--
Loway Research - Home of QueueMetrics
http://queuemetrics.loway.it
_______________________________________________
--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