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

Olivier oza-4h07 at myamail.com
Fri Dec 4 11:09:35 CST 2009


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

> 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.
>

OK !
I'll also try with one of these and see if things behave the same ...



>
>    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
> --
>
> _______________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091204/5fd1b83e/attachment.htm 


More information about the asterisk-users mailing list