Maybe this function will help QUEUE_MEMBER_COUNT QUEUE_MEMBER_COUNT(<queuename>) Count number of members answering a queue
This is in at least version 1.6.0.x. There are a few other related functions that can be seen by using the CLI command: core show functions like QUEUE Function names are upper case so you need to use upper case when trying to list them! -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ From: Steve Totaro <stot...@asteriskhelpdesk.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Date: Sat, 18 Jul 2009 11:17:05 -0400 To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] Count Available Queue members On Sat, Jul 18, 2009 at 11:11 AM, Gabriel Ortiz Lour <ortiz.ad...@gmail.com> wrote: > Hi all, > > 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 > > Thanks, > Gabriel Ortiz > 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. Similar to the cascading queues below, but do what you want. http://www.voip-info.org/wiki/view/Asterisk+call+queues Cascading Queues 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). 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)). You can then set up a number of queues and simply have your dialplan call each queue in succession. example: exten => 1589,1,Answer exten => 1589,2,Ringing exten => 1589,3,Wait(2) exten => 1589,4,Queue(testq|t|||45) exten => 1589,5,Queue(testq2|t|||45) exten => 1589,6,Hangup -- Thanks, Steve Totaro +18887771888 (Toll Free) +12409381212 (Cell) +12024369784 (Skype) _______________________________________________ -- 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