Hi, It there any way of getting queue data from within a dialplan in order to change call routing based on what is already happening? Something like the following would be ideal: exten => X.,n,Set(WAITING=${QUEUE(qname|waiting)}) exten => X.,n,Set(TALKING=${QUEUE(qname|talking)}) Can anyone suggest how I might achieve this? Thanks, Steve
Are these functions what you are looking for? QUEUE_MEMBER_COUNT: Count number of members answering a queue QUEUE_MEMBER_LIST: Returns a list of interfaces on a queue QUEUE_WAITING_COUNT: Returns the number of callers currently waiting in a queue Just my two eurocents, l. 2009/3/31 Steve Davies <davies147 at gmail.com>> Hi, > > It there any way of getting queue data from within a dialplan in order > to change call routing based on what is already happening? Something > like the following would be ideal: > > exten => X.,n,Set(WAITING=${QUEUE(qname|waiting)}) > exten => X.,n,Set(TALKING=${QUEUE(qname|talking)}) > > Can anyone suggest how I might achieve this? > > Thanks, > Steve > > _______________________________________________ > -- 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 >-- Loway - home of QueueMetrics - http://queuemetrics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090401/5105dee4/attachment.htm
Many thanks - That is exactly what I want - I must have been using poor search terms as I failed to find them on the Wiki previosuy :) Regards, Steve 2009/4/1 Lenz Emilitri <lenz.loway at gmail.com>:> Are these functions what you are looking for? > > QUEUE_MEMBER_COUNT: Count number of members answering a queue > QUEUE_MEMBER_LIST: Returns a list of interfaces on a queue > QUEUE_WAITING_COUNT: Returns the number of callers currently waiting in a > queue > > Just my two eurocents, > > l. > > 2009/3/31 Steve Davies <davies147 at gmail.com> >> >> Hi, >> >> It there any way of getting queue data from within a dialplan in order >> to change call routing based on what is already happening? Something >> like the following would be ideal: >> >> exten => X.,n,Set(WAITING=${QUEUE(qname|waiting)}) >> exten => X.,n,Set(TALKING=${QUEUE(qname|talking)}) >> >> Can anyone suggest how I might achieve this? >> >> Thanks, >> Steve