<br><br><div class="gmail_quote">On Sat, Jul 18, 2009 at 11:11 AM, Gabriel Ortiz Lour <span dir="ltr">&lt;<a href="mailto:ortiz.admin@gmail.com">ortiz.admin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>  Someone know how can I check for available members on a queue Before I queue the call, so I can do something else with it? Note that is not the case for joinempty<br><br>Thanks,<br><font color="#888888">Gabriel Ortiz<br>

</font><br></blockquote><div><br>Maybe too simple or not what you are looking for, but you can timeout people in the queue quickly and then redirect them via the dialplan.<br><br>Similar to the cascading queues below, but do what you want.<br>
<br><a href="http://www.voip-info.org/wiki/view/Asterisk+call+queues">http://www.voip-info.org/wiki/view/Asterisk+call+queues</a><br><h2>Cascading Queues
</h2>You can set up a series of queues that cascade to each other. You
can get a similar effect by using the penalty feature but this can be a
better way to do things for some situations (e.g. if you want to
overflow calls to your receptionist into your office for when your
receptionist is busy).
<br>
<br>The first thing you must do is have a timeout on our queue. This is
done as a parameter of the Queue command used in extensions.conf
(example: Queue(dave|t|||45)).
<br>
<br>You can then set up a number of queues and simply have your dialplan call each queue in succession.
<br>
<br>example:
<br><span style="font-family: monospace;"> exten =&gt; 1589,1,Answer
</span><br><span style="font-family: monospace;"> exten =&gt; 1589,2,Ringing
</span><br><span style="font-family: monospace;"> exten =&gt; 1589,3,Wait(2)
</span><br><span style="font-family: monospace;"> exten =&gt; 1589,4,Queue(testq|t|||45)
</span><br><span style="font-family: monospace;"> exten =&gt; 1589,5,Queue(testq2|t|||45)
</span><br><span style="font-family: monospace;"> exten =&gt; 1589,6,Hangup
</span><br> 
<br></div></div>-- <br>Thanks,<br>Steve Totaro <br>+18887771888 (Toll Free)<br>+12409381212 (Cell)<br>+12024369784 (Skype)<br>