diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-13 20:42:03 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-13 20:42:03 +0000 |
commit | 5e2aa190fe2e4903bfc72701bb3c9ed1672b9c2f (patch) | |
tree | 7999c8a779ea7262d222e1e6ed6905b4feedf795 /apps/app_queue.c | |
parent | 85dd68ca7a4ef7eea76c3fbc85f7beb5fb050bdd (diff) |
Display a list of channel variables in each channel-oriented event.
(Closes AST-33)
Reviewboard: https://reviewboard.asterisk.org/r/368/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@230111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index c0b32ff90..ef0549696 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2245,7 +2245,7 @@ static int join_queue(char *queuename, struct queue_ent *qe, enum queue_result * ast_copy_string(qe->context, q->context, sizeof(qe->context)); q->count++; res = 0; - manager_event(EVENT_FLAG_CALL, "Join", + ast_manager_event(qe->chan, EVENT_FLAG_CALL, "Join", "Channel: %s\r\nCallerIDNum: %s\r\nCallerIDName: %s\r\nQueue: %s\r\nPosition: %d\r\nCount: %d\r\nUniqueid: %s\r\n", qe->chan->name, S_OR(qe->chan->cid.cid_num, "unknown"), /* XXX somewhere else it is <unknown> */ @@ -2498,7 +2498,7 @@ static void leave_queue(struct queue_ent *qe) q->count--; /* Take us out of the queue */ - manager_event(EVENT_FLAG_CALL, "Leave", + ast_manager_event(qe->chan, EVENT_FLAG_CALL, "Leave", "Channel: %s\r\nQueue: %s\r\nCount: %d\r\nPosition: %d\r\nUniqueid: %s\r\n", qe->chan->name, q->name, q->count, qe->pos, qe->chan->uniqueid); ast_debug(1, "Queue '%s' Leave, Channel '%s'\n", q->name, qe->chan->name ); |