<p>Hi,</p><p><br></p><p>Setting &quot;callcounter = yes&quot; in sip.conf 
definitely made a difference!  Now, the agent state goes to Ringing.  
However, after the call is ended, the state does not change out of 
Ringing, and new calls do not get routed to the agent any longer.  Below is after the 1st call has ended, and while a new call is in the queue waiting:<br></p><p><br></p><p>QUEUE_3 has 1 calls (max unlimited) in &#39;wrandom&#39; strategy (2s holdtime, 2s talktime), W:0, C:1, A:0, SL:0.0% within 0s<br>

   Members: <br>
      TODD (SIP/14155331976@jnctn) (dynamic) (Ringing) has taken 1 calls (last was 38 secs ago)<br>
   Callers: <br>
      1. SIP/vitel-inbound-00000002 (wait: 0:16, prio: 0)<br></p><p><br></p><p>I tried the state_interface setting, no go.</p><p><br></p><p>Any ideas?</p><p><br></p><p><br></p><p>Todd<br></p>
<blockquote id="replyBlockquote" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject: Re: [asterisk-users] Asterisk 1.8 -- queue not recognizing<br>
that agent is busy<br>
From: Carlos Chavez &lt;<a href="mailto:cursor@telecomabmex.com">cursor@telecomabmex.com</a>&gt;<br>
Date: Wed, November 10, 2010 11:36 am<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
&lt;<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>&gt;<br>
<br>
On Wed, 2010-11-10 at 11:09 -0800, Todd Fulton wrote:<br>
&gt; Hi All,<br>
&gt; <br>
&gt; I&#39;ve got a realtime queue in place (strategy is &quot;wrandom&quot;), and have<br>
&gt; added a member dynamically via &quot;queue add member &quot;.  My agent shows in<br>
&gt; the queue, but when he gets the call is not recognized as &quot;In Use&quot;.<br>
&gt; Here is the output from &quot;queue show&quot; prior to the call:<br>
&gt; <br>
&gt; *CLI&gt; queue show<br>
&gt; QUEUE_3 has 0 calls (max unlimited) in &#39;wrandom&#39; strategy (0s<br>
&gt; holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s<br>
&gt;    Members:<br>
&gt;       Todd1 (SIP/14153436587@jnctn) (dynamic) (Not in use) has taken<br>
&gt; no calls yet<br>
&gt;    No Callers<br>
&gt; <br>
&gt; Here is the output when actually connected to the inbound caller:<br>
&gt; <br>
&gt; *CLI&gt; queue show<br>
&gt; QUEUE_3 has 0 calls (max unlimited) in &#39;wrandom&#39; strategy (1s<br>
&gt; holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s<br>
&gt;    Members:<br>
&gt;       Todd1 (SIP/14153436587@jnctn) (dynamic) (Not in use) has taken<br>
&gt; no calls yet<br>
&gt;    No Callers<br>
&gt; <br>
&gt; If I make a second inbound call while the agent is still connected to<br>
&gt; the first, the second call is also routed to the agent.  Queue doesn&#39;t<br>
&gt; appear know the agent is already busy.<br>
&gt; <br>
&gt; My question:  doesn&#39;t the Queue application keep track of the agent&#39;s<br>
&gt; interface status<br>
<br>
        Do you have &quot;callcounter = yes&quot; in your sip.conf?<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>
<hr>-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">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">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">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</div>
</blockquote>