[asterisk-users] Queues with unavailable members
C. Chad Wallace
cwallace at lodgingcompany.com
Thu Oct 15 13:32:26 CDT 2009
At 3:37 PM on 15 Oct 2009, Benny Amorsen wrote:
> Perhaps the problem could be restated in a different way: After a
> queue member rejects a call (instead of just not answering), the
> queue should wait X amount of time before sending the next call.
> Queues.conf has a million settings, but I can't find one which does
> this.
To pause an agent, store the "unpause time" per agent in the AstDB.
Then when you're deciding whether to give out a call (in the Local
channel), look up "${DB(AgentPaused/<agentid>)}" and compare it to the
current time. If there is no record or the time has passed, put the
call through; otherwise, skip that agent.
Sorry, no example code yet... I just wanted to get the idea out there.
--
C. Chad Wallace, B.Sc.
The Lodging Company
http://www.skihills.com/
OpenPGP Public Key ID: 0x262208A0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20091015/a9aa86dc/attachment.pgp
More information about the asterisk-users
mailing list