[asterisk-bugs] [Asterisk 0014506]: QUEUE_VARIABLES function doesn't work as it should
Asterisk Bug Tracker
noreply at bugs.digium.com
Sat Feb 21 03:12:27 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14506
======================================================================
Reported By: jsmith
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14506
Category: Applications/app_queue
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: SVN
Regression: Yes
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0
SVN Revision (number only!): 175638
Request Review:
======================================================================
Date Submitted: 2009-02-19 09:19 CST
Last Modified: 2009-02-21 03:12 CST
======================================================================
Summary: QUEUE_VARIABLES function doesn't work as it should
Description:
The QUEUE_VARIABLES function doesn't seem to be setting the channel
variables as it says it does.
======================================================================
----------------------------------------------------------------------
(0100491) pkempgen (reporter) - 2009-02-21 03:12
http://bugs.digium.com/view.php?id=14506#c100491
----------------------------------------------------------------------
In my test Set(err=${QUEUE_VARIABLES(techsupport)}) works
as documented if setqueuevar is set on the queue.
---cut---
Variables:
err=0
QUEUESRVLEVELPERF=0.0
QUEUESRVLEVEL=0
QUEUEABANDONED=0
QUEUECOMPLETED=0
QUEUEHOLDTIME=0
QUEUECALLS=0
QUEUESTRATEGY=random
QUEUEMAX=0
---cut---
I should have worded my question
(http://lists.digium.com/pipermail/asterisk-users/2009-February/227122.html)
more clearly. The question was more like "Does the function
return anything useful (in the dialplan)? How can I call a
function and ignore the result?"
I was mislead because whenever an _application_ returns
-1 that doesn't mean it returns that in the dialplan but
in the C source code and thus aborts the call.
The funktion QUEUE_VARIABLES() however actually returns 0
resp. -1 in the dialplan.
=> close
Issue History
Date Modified Username Field Change
======================================================================
2009-02-21 03:12 pkempgen Note Added: 0100491
======================================================================
More information about the asterisk-bugs
mailing list