Chris Blunt
2006-Dec-06 06:46 UTC
[asterisk-users] Agent autologoff dynamic queue members - Brain aches please help
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061206/1a863c38/attachment.htm
Lenz
2006-Dec-06 08:46 UTC
[asterisk-users] Agent autologoff dynamic queue members - Brain aches please help
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 <chris.blunt@entropy-it.com> 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