Hi Jerry, I use the built-in function queue_member http://www.asterisk.org/docs/asterisk/trunk/functions/queue_member?type=functions&value=QUEUE_MEMBER
and check with a GotoIf statement to check if the number is equal to zero. 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. Travis ----- Original Message ----- From: "Jerry Geis" <ge...@pagestation.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Sunday, December 13, 2009 4:20:40 PM Subject: [asterisk-users] question on queues I have been looking for a way from the dialplan to inquire if there are any members in a queue. So what I want to do is if no users are members of a queue then I can send the call to a given extention. I have the queue setup all that is working. Just need to be able to send the call to a certain user if no-one is logged into the queue. How do I do that? Thanks Jerry _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users