From: Jason Parker Date: Mon, 9 Apr 2007 19:05:48 +0000 (+0000) Subject: Use the appropriate interface name with COMPLETECALLER. X-Git-Tag: 1.4.7.1~454 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a8d30f3c3716bfc1cbb336865feb366f0868547;p=thirdparty%2Fasterisk.git 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 --- 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",