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:
Joshua Colp
2006-10-03 17:41:41 +00:00
parent b5f2589e33
commit e550109383
2 changed files with 5 additions and 2 deletions

View File

@@ -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) {