mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
add channel's uniqueid to manager 'join' event (issue #6458)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1034,11 +1034,11 @@ static int join_queue(char *queuename, struct queue_ent *qe, enum queue_result *
|
||||
q->count++;
|
||||
res = 0;
|
||||
manager_event(EVENT_FLAG_CALL, "Join",
|
||||
"Channel: %s\r\nCallerID: %s\r\nCallerIDName: %s\r\nQueue: %s\r\nPosition: %d\r\nCount: %d\r\n",
|
||||
"Channel: %s\r\nCallerID: %s\r\nCallerIDName: %s\r\nQueue: %s\r\nPosition: %d\r\nCount: %d\r\nUniqueid: %s\r\n",
|
||||
qe->chan->name,
|
||||
qe->chan->cid.cid_num ? qe->chan->cid.cid_num : "unknown",
|
||||
qe->chan->cid.cid_name ? qe->chan->cid.cid_name : "unknown",
|
||||
q->name, qe->pos, q->count );
|
||||
q->name, qe->pos, q->count, qe->chan->uniqueid );
|
||||
#if 0
|
||||
ast_log(LOG_NOTICE, "Queue '%s' Join, Channel '%s', Position '%d'\n", q->name, qe->chan->name, qe->pos );
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user