<font color="#000066"><font size="2"><font face="tahoma,sans-serif">Hi.</font></font></font><div><font color="#000066"><font size="2"><font face="tahoma,sans-serif"><br></font></font></font></div><div><font color="#000066"><font size="2"><font face="tahoma,sans-serif">We use GROUP and GROUP_COUNT to track if the peer is engaged in a call. If so we use Busy()<br>
</font></font></font><br><div class="gmail_quote">On 22 October 2010 01:28, GBR Icasiano, Ryan A. <span dir="ltr">&lt;<a href="mailto:raicasiano@globalbridgeresources.com">raicasiano@globalbridgeresources.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
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.<br>

<br>
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.<br>

<br>
regards,<br>
<br>
RYAN ICASIANO<br>
________________________________________<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Carlos Chavez [<a href="mailto:cursor@telecomabmex.com">cursor@telecomabmex.com</a>]<br>

Sent: Friday, October 22, 2010 12:06 AM<br>
<div class="im">To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
</div>Subject: Re: [asterisk-users] Queue member status - BUSY<br>
<div><div></div><div class="h5"><br>
On Thu, 2010-10-21 at 08:15 +0800, GBR Icasiano, Ryan A. wrote:<br>
&gt; anyone?<br>
&gt;<br>
&gt; regards,<br>
&gt;<br>
&gt; RYAN ICASIANO<br>
&gt;<br>
&gt; ________________________________________<br>
&gt; From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of GBR Icasiano, Ryan A. [<a href="mailto:raicasiano@globalbridgeresources.com">raicasiano@globalbridgeresources.com</a>]<br>

&gt; Sent: Wednesday, October 20, 2010 2:02 PM<br>
&gt; To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
&gt; Subject: [asterisk-users] Queue member status - BUSY<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; 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.<br>

&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
        People do not really get that a queue is supposed to work that way.<br>
The point of having a queue is that you will have more people waiting<br>
than agents available to answer calls, if not why have a queue just make<br>
a dial group.<br>
<br>
        The way to do what you want would be to use an AGI that gets a list of<br>
agents logged into the queue and see their status.  The status for a<br>
free agent is 1 so if you do not see any agents with status 1 then all<br>
agents are busy.  You can then set a variable so you can redirect the<br>
caller somewhere else.<br>
<br>
--<br>
Telecomunicaciones Abiertas de México S.A. de C.V.<br>
Carlos Chávez Prats<br>
Director de Tecnología<br>
+52-55-91169161 ext 2001<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>