diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-01-21 22:32:13 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-01-21 22:32:13 +0000 |
commit | 6d57a8c873581aed9ace179564b43840ff7fdf10 (patch) | |
tree | 9a2ef31152a650815d2e3d6b4ea5c2372a3ae05b /apps/app_queue.c | |
parent | 8f19d8523bf411053a7c06562be2398e90f99b49 (diff) |
Adding the QUEUENAME variable to the variables set using the setqueuevar option
in queues.conf.
Suggestion comes from Shaun2222 on IRC.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index a2db787a7..a6b2d3f89 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -570,8 +570,8 @@ static void set_queue_variables(struct queue_ent *qe) sl = 100 * ((float) qe->parent->callscompletedinsl / (float) qe->parent->callscompleted); snprintf(interfacevar,sizeof(interfacevar), - "QUEUEMAX=%d|QUEUESTRATEGY=%s|QUEUECALLS=%d|QUEUEHOLDTIME=%d|QUEUECOMPLETED=%d|QUEUEABANDONED=%d|QUEUESRVLEVEL=%d|QUEUESRVLEVELPERF=%2.1f", - qe->parent->maxlen, int2strat(qe->parent->strategy), qe->parent->count, qe->parent->holdtime, qe->parent->callscompleted, + "QUEUENAME=%s|QUEUEMAX=%d|QUEUESTRATEGY=%s|QUEUECALLS=%d|QUEUEHOLDTIME=%d|QUEUECOMPLETED=%d|QUEUEABANDONED=%d|QUEUESRVLEVEL=%d|QUEUESRVLEVELPERF=%2.1f", + qe->parent->name, qe->parent->maxlen, int2strat(qe->parent->strategy), qe->parent->count, qe->parent->holdtime, qe->parent->callscompleted, qe->parent->callsabandoned, qe->parent->servicelevel, sl); pbx_builtin_setvar(qe->chan, interfacevar); |