[asterisk-users] Get Queue values from dialplan (Was: queue_variables() function)

Philipp Kempgen philipp.kempgen at amooma.de
Fri Dec 4 08:56:04 CST 2009


Olivier schrieb:
> 2009/12/4 Philipp Kempgen <philipp.kempgen at amooma.de>
>> Olivier schrieb:

>> > How can can you get current queue's length (ie maxlen) or waiting call
>> > number from dialplan ?
>>
>>         Set(err=${QUEUE_VARIABLES(techsupport)});
>>        Verbose(1,maxlen: ${QUEUEMAX});
>>        Verbose(1,waiting calls: ${QUEUECALLS});

> When includiing in my dialplan the same lines as yours, QUEUEMAX value
> remains empty (while err equals -1).
> 
> With CLI, "queue show techsupport" says something like :
> techsupportl has 0 calls (max 3) in 'ringall' strategy (0s holdtime, 0s
> talktime), W:0, C:0, A:0, SL:0.0% within 0s
>    Members:
>       SIP/109 (Not in use) has taken no calls yet
>    No Callers
> 
> I also tried with and without setinterfacevar=yes or setqueuevar=yes.
> 
> Did you try with 1.6.2 ?

Can't remember. Maybe I tested this with 1.6.0 or 1.6.1.


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 



More information about the asterisk-users mailing list