[asterisk-users] Queue member status - BUSY
Carlos Chavez
cursor at telecomabmex.com
Thu Oct 21 11:06:25 CDT 2010
On Thu, 2010-10-21 at 08:15 +0800, GBR Icasiano, Ryan A. wrote:
> anyone?
>
> regards,
>
> RYAN ICASIANO
>
> ________________________________________
> From: asterisk-users-bounces at lists.digium.com [asterisk-users-bounces at lists.digium.com] On Behalf Of GBR Icasiano, Ryan A. [raicasiano at globalbridgeresources.com]
> Sent: Wednesday, October 20, 2010 2:02 PM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] Queue member status - BUSY
>
> Hi,
>
> Is there a way to know if a member of a queue is currently engaged on a call? Or if a queue can return a busy status if all members are currently engaged in a call? QUEUESTATUS only returns FULL and TIMEOUT, and the scenario only falls into TIMEOUT, and has to finish the assigned number of seconds into the QUEUE CMD before it falls back to the next routine on the dialplan.
>
> Any ideas?
>
People do not really get that a queue is supposed to work that way.
The point of having a queue is that you will have more people waiting
than agents available to answer calls, if not why have a queue just make
a dial group.
The way to do what you want would be to use an AGI that gets a list of
agents logged into the queue and see their status. The status for a
free agent is 1 so if you do not see any agents with status 1 then all
agents are busy. You can then set a variable so you can redirect the
caller somewhere else.
--
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: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20101021/4a41b285/attachment.pgp
More information about the asterisk-users
mailing list