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

Olivier oza-4h07 at myamail.com
Fri Dec 4 08:13:22 CST 2009


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

> Olivier schrieb:
> > 2009/12/4 Olivier <oza-4h07 at myamail.com>
>
> >> Has someone successfully used this QUEUE_VARIABLES() function (in
> >> 1.6.2-rc7) ?
>
> >> A previous question about it remainded unanswered (
> >> http://thread.gmane.org/gmane.comp.telephony.pbx.asterisk.user/224466).
>
> http://lists.digium.com/pipermail/asterisk-users/2009-February/227122.html
> http://lists.digium.com/pipermail/asterisk-users/2009-February/227127.html
> https://issues.asterisk.org/view.php?id=14506
>
> > 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});
>

That's Interesting because:

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 ?



>
>    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/1f04380a/attachment.htm 


More information about the asterisk-users mailing list