I want the callers don't join in a queue when the agents are busy. I suposse it is easy but i can't get the solution for this. Can you suggest me something? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081229/3545ab8c/attachment.htm
Then why use a queue? The purpose of a queue is exactly to keep people waiting while agents are all busy. The only way I can see something like what you want is to put a very low timeout (maybe 10 seconds) so if all your agents are busy then the caller will get dropped from the queue and continue with the dialplan where you can redirect them. On Mon, 2008-12-29 at 10:26 -0200, equis software wrote:> I want the callers don't join in a queue when the agents are busy. > I suposse it is easy but i can't get the solution for this. > Can you suggest me something? > Thanks. > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20081229/18ae21d5/attachment-0001.pgp
equis software wrote:> I want the callers don't join in a queue when the agents are busy. > I suposse it is easy but i can't get the solution for this. > Can you suggest me something? > Thanks. >Unless you are using the trunk version of Asterisk right now, this can't be done very easily. In trunk, the "joinempty" setting for queues has been modified to not only allow the current allowed values of no, yes, loose, and strict, but also to allow a comma-separated list of conditions under which you consider a queue member to be "unavailable." There is a detailed explanation of all the allowed conditions in the queues.conf.sample file in trunk's configs/ directory in the source. Since this feature is already in trunk but not in any released version of Asterisk, it will be present in Asterisk version 1.6.2. Mark Michelson
"equis software" <equissoftware at gmail.com> writes:> I want the callers don't join in a queue when the agents are busy. > I suposse it is easy but i can't get the solution for this. > Can you suggest me something?If you don't need the full functionality of queues, they are reasonably easy to reinvent in the dial plan. If you just do something like exten => _X!,n,Dial(SIP/phone1&SIP/phone2&SIP/phone3) you will automatically get to the next priority if all agents are busy. If you need dynamic agents, that can be handled by storing the agents in a variable in the asterisk database -- or even better, in an external database. /Benny