From 7a8d30f3c3716bfc1cbb336865feb366f0868547 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Mon, 9 Apr 2007 19:05:48 +0000 Subject: [PATCH] Use the appropriate interface name with COMPLETECALLER. Issue 9395. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61022 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index ca492c7584..6c2111bba0 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2651,7 +2651,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce qe->chan->exten, qe->chan->context, (long) (callstart - qe->start), (long) (time(NULL) - callstart)); } 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); if (qe->parent->eventwhencalled) manager_event(EVENT_FLAG_AGENT, "AgentComplete",