<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'>Hi Jerry,<br><br>I use the built-in function queue_member<br>http://www.asterisk.org/docs/asterisk/trunk/functions/queue_member?type=functions&amp;value=QUEUE_MEMBER<br><br>and check with a GotoIf statement to check if the number is equal to zero.&nbsp; If it is not I send the call to the queue, if it is I pass the call to dial a cell-phone number or go directly to voicemail depending on which queue the call was originally destined for.<br><br>Travis<br>----- Original Message -----<br>From: "Jerry Geis" &lt;geisj@pagestation.com&gt;<br>To: "Asterisk Users Mailing List - Non-Commercial Discussion" &lt;asterisk-users@lists.digium.com&gt;<br>Sent: Sunday, December 13, 2009 4:20:40 PM<br>Subject: [asterisk-users] question on queues<br><br>I have been looking for a way from the dialplan to inquire if there are <br>any members in a queue.<br><br>So what I want to do is if no users are members of a queue then I can <br>send the call to a given extention.<br><br>I have the queue setup all that is working. Just need to be able to send <br>the call to a certain user if<br>no-one is logged into the queue. How do I do that?<br><br>Thanks<br><br>Jerry<br><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; http://lists.digium.com/mailman/listinfo/asterisk-users<br></div></body></html>