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? regards, ryan icasiano
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? regards, ryan icasiano -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Have you tried playing with "joinempty" and "leavewhenem?pty" to avoid people being connected to a queue with all agents in use? l. 2010/10/20 GBR Icasiano, Ryan A. <raicasiano at globalbridgeresources.com>> 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? > > regards, > ryan icasiano >-- Loway - home of QueueMetrics - http://queuemetrics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101021/64b1fbc2/attachment.htm
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
Hi, I have modified the way agents are being treated since they are using mobile phones. Having that kind of scenario, it is not recommended to make the agent logged in by using that scenario. Instead, they will call a certain number, login by using the given parameters(company id, username, password) and tag them in the DB as logged in, and their number will ring once a client/customer calls and falls on the queue. Now once asterisk falls to a certain queue, it will then check all members that contains login status on a certain table, then add/delete them in queue_members table in realtime depending on its current login status. This way, it will only ring all currently logged in members. It works fine this way, the only problem is that whenever all members are engaged on a call, their phone is off, etc... the queue cannot determine whether any of them is available or not, as far as I know. regards, RYAN ICASIANO ________________________________________ From: asterisk-users-bounces at lists.digium.com [asterisk-users-bounces at lists.digium.com] On Behalf Of Carlos Chavez [cursor at telecomabmex.com] Sent: Friday, October 22, 2010 12:06 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Queue member status - BUSY 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
Hi. We use GROUP and GROUP_COUNT to track if the peer is engaged in a call. If so we use Busy() On 22 October 2010 01:28, GBR Icasiano, Ryan A. < raicasiano at globalbridgeresources.com> wrote:> Hi, > > I have modified the way agents are being treated since they are using > mobile phones. Having that kind of scenario, it is not recommended to make > the agent logged in by using that scenario. Instead, they will call a > certain number, login by using the given parameters(company id, username, > password) and tag them in the DB as logged in, and their number will ring > once a client/customer calls and falls on the queue. > > Now once asterisk falls to a certain queue, it will then check all members > that contains login status on a certain table, then add/delete them in > queue_members table in realtime depending on its current login status. This > way, it will only ring all currently logged in members. It works fine this > way, the only problem is that whenever all members are engaged on a call, > their phone is off, etc... the queue cannot determine whether any of them is > available or not, as far as I know. > > regards, > > RYAN ICASIANO > ________________________________________ > From: asterisk-users-bounces at lists.digium.com [ > asterisk-users-bounces at lists.digium.com] On Behalf Of Carlos Chavez [ > cursor at telecomabmex.com] > Sent: Friday, October 22, 2010 12:06 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Queue member status - BUSY > > 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 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101022/06a43bab/attachment.htm