login | register
Thu 04 of Dec, 2008 [02:27 UTC]

voip-info.org

History

Asterisk func queue_member_count

Created by: murf,Last modification on Mon 04 of Aug, 2008 [13:30 UTC] by JustRumours

Synopsis

 Count number of members answering a queue

Description

 QUEUE_MEMBER_COUNT(<queuename>)

Introduced with Asterisk 1.4
 
This function really refers to queue members, which are the operators answering a queue (as opposed to the callers). This function has been renamed in 1.3dev from QUEUEAGENTCOUNT, to increase clarity of purpose. QUEUE_MEMBER_LIST (a list of members answering a queue, in comma-separated format) is also now available in 1.3dev.

Example

 exten => s,1,Set(foo=${QUEUE_MEMBER_COUNT(q1)})

See also




Comments