Merged revisions 61022 via svnmerge from
authorJason Parker <jparker@digium.com>
Mon, 9 Apr 2007 19:06:36 +0000 (19:06 +0000)
committerJason Parker <jparker@digium.com>
Mon, 9 Apr 2007 19:06:36 +0000 (19:06 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61022 | qwell | 2007-04-09 14:05:48 -0500 (Mon, 09 Apr 2007) | 4 lines

Use the appropriate interface name with COMPLETECALLER.

Issue 9395.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61023 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 5231e29..5286f32 100644 (file)
@@ -2785,7 +2785,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
                                (long) (time(NULL) - callstart));
                        send_agent_complete(qe, queuename, peer, member, callstart, vars, sizeof(vars), TRANSFER);
                } else if (qe->chan->_softhangup) {
-                       ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "COMPLETECALLER", "%ld|%ld|%d",
+                       ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETECALLER", "%ld|%ld|%d",
                                (long) (callstart - qe->start), (long) (time(NULL) - callstart), qe->opos);
                        send_agent_complete(qe, queuename, peer, member, callstart, vars, sizeof(vars), CALLER);
                } else {