mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add 'Strat' manager field to QueueParams event. (issue #7704 reported by renemendoza)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -26,4 +26,6 @@ Changes since Asterisk 1.4-beta was branched:
|
||||
* setinterfacevar option in queues.conf also now sets a variable
|
||||
called MEMBERNAME which contains the member's name.
|
||||
* Added Masquerade manager event for when a masquerade happens between
|
||||
two channels.
|
||||
two channels.
|
||||
* Added 'Strat' field to manager event QueueParams which represents
|
||||
the queue strategy in use.
|
||||
|
@@ -4107,6 +4107,7 @@ static int manager_queues_status(struct mansession *s, struct message *m)
|
||||
astman_append(s, "Event: QueueParams\r\n"
|
||||
"Queue: %s\r\n"
|
||||
"Max: %d\r\n"
|
||||
"Strat: %s\r\n"
|
||||
"Calls: %d\r\n"
|
||||
"Holdtime: %d\r\n"
|
||||
"Completed: %d\r\n"
|
||||
@@ -4116,7 +4117,7 @@ static int manager_queues_status(struct mansession *s, struct message *m)
|
||||
"Weight: %d\r\n"
|
||||
"%s"
|
||||
"\r\n",
|
||||
q->name, q->maxlen, q->count, q->holdtime, q->callscompleted,
|
||||
q->name, q->maxlen, int2strat(q->strategy), q->count, q->holdtime, q->callscompleted,
|
||||
q->callsabandoned, q->servicelevel, sl, q->weight, idText);
|
||||
/* List Queue Members */
|
||||
for (mem = q->members; mem; mem = mem->next) {
|
||||
|
Reference in New Issue
Block a user