<div><br></div><div>What do you get if you run a &quot;queue show sales&quot;?</div><div>l.</div><div><br></div><div><br></div><br><div class="gmail_quote">2012/9/26 Mitch Claborn <span dir="ltr">&lt;<a href="mailto:mitch_ml@claborn.net" target="_blank">mitch_ml@claborn.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Asterisk 1.8.10.1~dfsg-1ubuntu1<br>
<br>
Trying to build a simple announcement of the queue status. QUEUEHOLDTIME is always zero.  What am I doing wrong?<br>
<br>
queues.conf<br>
[general]<br>
autofill=yes<br>
shared_lastcall=yes<br>
<br>
[StandardQueue](!)<br>
musicclass=default<br>
strategy=rrmemory<br>
joinempty=no<br>
leavewhenempty=yes<br>
ringinuse=no<br>
announce-frequency = 30<br>
min-announce-frequency = 15<br>
announce-holdtime = yes|no|once<br>
announce-position = limit<br>
announce-position-limit = 5<br>
announce-round-seconds = 10<br>
setinterfacevar = yes<br>
setqueueentryvar = yes<br>
setqueuevar = yes<br>
<br>
[sales](StandardQueue) ; create the sales queue using the parameters in the StandardQueue template<br>
<br>
extensions.conf<br>
exten =&gt; 812,1,NoOp(queue status)<br>
  same =&gt;n,Set(LOGGEDIN=${QUEUE_MEMBER(sales,logged)})<br>
  same =&gt;n,Set(READY=${QUEUE_MEMBER(sales,ready)})<br>
  same =&gt;n,Set(WAITING=${QUEUE_WAITING_COUNT(sales)})<br>
  same =&gt;n,Set(STUFF=${QUEUE_VARIABLES(sales)})<br>
  same =&gt;n,Verbose(waiting: ${WAITING} calls in queue: ${QUEUECALLS} avg hold: ${QUEUEHOLDTIME} logged in: ${LOGGEDIN} ready: ${READY})<br>
<br>
Regardless of how long a caller has been waiting in the queue, the output is:<br>
<br>
    -- Executing [812@LocalSets:1] NoOp(&quot;SIP/08000F3BE07C-00000048&quot;, &quot;queue status&quot;) in new stack<br>
    -- Executing [812@LocalSets:2] Set(&quot;SIP/08000F3BE07C-00000048&quot;, &quot;LOGGEDIN=1&quot;) in new stack<br>
    -- Executing [812@LocalSets:3] Set(&quot;SIP/08000F3BE07C-00000048&quot;, &quot;READY=1&quot;) in new stack<br>
    -- Executing [812@LocalSets:4] Set(&quot;SIP/08000F3BE07C-00000048&quot;, &quot;WAITING=1&quot;) in new stack<br>
    -- Executing [812@LocalSets:5] Set(&quot;SIP/08000F3BE07C-00000048&quot;, &quot;STUFF=0&quot;) in new stack<br>
    -- Executing [812@LocalSets:6] Verbose(&quot;SIP/08000F3BE07C-00000048&quot;, &quot;waiting: 1 calls in queue: 1 avg hold: 0 logged in: 1 ready: 1&quot;) in new stack<br>
waiting: 1 calls in queue: 1 avg hold: 0 logged in: 1 ready: 1<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br><div>Loway - home of QueueMetrics - <a href="http://queuemetrics.com" target="_blank">http://queuemetrics.com</a><br></div><div>Test-drive WombatDialer beta @ <a href="http://wombatdialer.com" target="_blank">http://wombatdialer.com</a>
</div><br>