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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Reply via email to