thanks for your help, I really appreciate it<br><br><div><span class="gmail_quote">On 4/25/06, <b class="gmail_sendername">Kevin Smith</b> <<a href="mailto:kevin.smith@mercury.net">kevin.smith@mercury.net</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes there is. QUEUE_MEMBER_LIST(<queuename>)<br><br>This should return you a list of comman-separated list of the members in
<br>a queue. After that you would need to format it (if needed) so asterisk<br>can read it back to you. Of course then you can make some logic<br>decesions on whether you want to remove the memeber from the queue, etc.<br>
<br>Also you may find this page helpful for things you are looking for<br><a href="http://www.voip-info.org/wiki/view/Asterisk+functions">http://www.voip-info.org/wiki/view/Asterisk+functions</a><br><br>Kevin<br><br><br>Dumpolid Exeplish wrote:
<br><br>> Thanks Kevin,<br>> the tip worked like a charm. However, there are newer issues now! Is<br>> there any way of knowing which users are looed in? sometimes, customer<br>> support users forget to login B4 they shutdown their computers (we use
<br>> soft phones) and "presistentmembers=yes" is set in queues.conf so the<br>> users are not logged off automatically . I have an extension on which<br>> I dial to get the count of loged in users. Is there a way to find out
<br>> which extensions are currently logged in??<br>><br>> Thanks agai<br>><br>> On 4/24/06, *Kevin Smith* <<a href="mailto:kevin.smith@mercury.net">kevin.smith@mercury.net</a><br>> <mailto:<a href="mailto:kevin.smith@mercury.net">
kevin.smith@mercury.net</a>>> wrote:<br>><br>> Hi,<br>><br>> What I would suggest doing, since we have a similar setup (where<br>> our 24<br>> support contracts can enter a pin number to be routed to an on call
<br>> tech) is I use the function QUEUEAGENTCOUNT(queue name). Since you<br>> said<br>> that the calls should only be routed after the last support person<br>> logs<br>> out, just do a test to see if there is anyone logged in the queue, if
<br>> not, send them to the NOC.<br>><br>> example:<br>><br>> exten => s,1,gotoif,$[${QUEUEAGENTCOUNT(124)} > 0]?YES:NO<br>> exten => s,n(YES),queue(124) ;Since there are more then 0 people
<br>> in your<br>> queue<br>> exten => s,n(NO),queue(123) ; If there less then or equal to 0<br>><br>> You also can run other tests and use logic and's and or's to make the<br>> tests more complex.
<br>><br>> Hopefully this will help,<br>><br>> Kevin<br>><br>><br>><br></blockquote></div><br>