diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-20 17:21:54 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-20 17:21:54 +0000 |
commit | 3d4c6ea82a08d9703653f7d8838fabef81da63b6 (patch) | |
tree | 000f12071b6f97c254068faa7c82566df7f986d1 /apps/app_queue.c | |
parent | b8540d24188d6f657c28b842c0d32fa1e60af3c6 (diff) |
Merge some of Mahmut's patches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@666 f38db490-d61c-443f-a65b-d21fe96a405b
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) { |