diff options
author | Mark Spencer <markster@digium.com> | 2003-03-20 17:21:54 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-03-20 17:21:54 +0000 |
commit | d0d50a4ad760b52f5f479be0b3b5f12db3c67658 (patch) | |
tree | 000f12071b6f97c254068faa7c82566df7f986d1 /apps/app_queue.c | |
parent | d5251a85059488de06ed8eaefe9124416cf9322e (diff) |
Merge some of Mahmut's patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-x | apps/app_queue.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index f2bd0128a..7f748209a 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -156,7 +156,8 @@ static int join_queue(char *queuename, struct queue_ent *qe) q->count++; res = 0; manager_event(EVENT_FLAG_CALL, "Join", - "Queue: %s\r\nPosition: %d\r\n", q->name, qe->pos ); + "Channel: %s\r\nQueue: %s\r\nPosition: %d\r\n", + qe->chan->name, q->name, qe->pos ); } ast_pthread_mutex_unlock(&q->lock); @@ -212,7 +213,8 @@ static void leave_queue(struct queue_ent *qe) ast_pthread_mutex_lock(&q->lock); /* Take us out of the queue */ manager_event(EVENT_FLAG_CALL, "Leave", - "Queue: %s\r\n", q->name ); + "Channel: %s\r\nQueue: %s\r\n", + qe->chan->name, q->name ); prev = NULL; cur = q->head; while(cur) { |