[asterisk-users] Queue data from within dialplan?

Steve Davies davies147 at gmail.com
Wed Apr 1 08:00:42 CDT 2009


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



More information about the asterisk-users mailing list