mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
app_queue: Add priority to AMI QueueStatus
Add priority to callers in AMI QueueStatus response ASTERISK-27092 #close Change-Id: I8d1f737a72c7c38f4cfe1a4ee3ecc0a4f85bd199
This commit is contained in:
committed by
George Joseph
parent
3418d8d145
commit
9a09f7dd5d
6
CHANGES
6
CHANGES
@@ -39,9 +39,15 @@ res_musiconhold
|
|||||||
which sends signals to the application and its descendants directly, or
|
which sends signals to the application and its descendants directly, or
|
||||||
"process" which sends signals only to the application itself.
|
"process" which sends signals only to the application itself.
|
||||||
|
|
||||||
|
res_pjsip
|
||||||
|
------------------
|
||||||
* New dialplan function PJSIP_DTMF_MODE added to get or change the DTMF mode
|
* New dialplan function PJSIP_DTMF_MODE added to get or change the DTMF mode
|
||||||
of a channel on a per-call basis.
|
of a channel on a per-call basis.
|
||||||
|
|
||||||
|
app_queue
|
||||||
|
------------------
|
||||||
|
* Add priority to callers in AMI QueueStatus response.
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
--- Functionality changes from Asterisk 13.16.0 to Asterisk 13.17.0 ----------
|
--- Functionality changes from Asterisk 13.16.0 to Asterisk 13.17.0 ----------
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
@@ -9695,6 +9695,7 @@ static int manager_queues_status(struct mansession *s, const struct message *m)
|
|||||||
"ConnectedLineNum: %s\r\n"
|
"ConnectedLineNum: %s\r\n"
|
||||||
"ConnectedLineName: %s\r\n"
|
"ConnectedLineName: %s\r\n"
|
||||||
"Wait: %ld\r\n"
|
"Wait: %ld\r\n"
|
||||||
|
"Priority: %d\r\n"
|
||||||
"%s"
|
"%s"
|
||||||
"\r\n",
|
"\r\n",
|
||||||
q->name, pos++, ast_channel_name(qe->chan), ast_channel_uniqueid(qe->chan),
|
q->name, pos++, ast_channel_name(qe->chan), ast_channel_uniqueid(qe->chan),
|
||||||
@@ -9702,7 +9703,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_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.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"),
|
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;
|
++q_items;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
- \ref manager.c Main manager code file
|
- \ref manager.c Main manager code file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define AMI_VERSION "2.10.0"
|
#define AMI_VERSION "2.10.1"
|
||||||
#define DEFAULT_MANAGER_PORT 5038 /* Default port for Asterisk management via TCP */
|
#define DEFAULT_MANAGER_PORT 5038 /* Default port for Asterisk management via TCP */
|
||||||
#define DEFAULT_MANAGER_TLS_PORT 5039 /* Default port for Asterisk management via TCP */
|
#define DEFAULT_MANAGER_TLS_PORT 5039 /* Default port for Asterisk management via TCP */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user