diff options
author | George Joseph <gjoseph@digium.com> | 2017-07-10 09:50:37 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-07-10 09:50:37 -0500 |
commit | 17103ca898f077846c4b1430091ba37454476844 (patch) | |
tree | eb3c8faa98e7fdfcbdb4e8ccce08fb54b7056cb1 /apps | |
parent | 6f35428c8752a5d43103bab765fea85f6e154f9c (diff) | |
parent | ab7d99e62d1d1cdc0bcf69bb396bcf2f5decc514 (diff) |
Merge "app_queue: Add priority to AMI QueueStatus"
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 3f8e136f2..4dbf80cb3 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -9951,6 +9951,7 @@ static int manager_queues_status(struct mansession *s, const struct message *m) "ConnectedLineNum: %s\r\n" "ConnectedLineName: %s\r\n" "Wait: %ld\r\n" + "Priority: %d\r\n" "%s" "\r\n", q->name, pos++, ast_channel_name(qe->chan), ast_channel_uniqueid(qe->chan), @@ -9958,7 +9959,7 @@ static int manager_queues_status(struct mansession *s, const struct message *m) S_COR(ast_channel_caller(qe->chan)->id.name.valid, ast_channel_caller(qe->chan)->id.name.str, "unknown"), S_COR(ast_channel_connected(qe->chan)->id.number.valid, ast_channel_connected(qe->chan)->id.number.str, "unknown"), S_COR(ast_channel_connected(qe->chan)->id.name.valid, ast_channel_connected(qe->chan)->id.name.str, "unknown"), - (long) (now - qe->start), idText); + (long) (now - qe->start), qe->prio, idText); ++q_items; } } |