From a044282ad29644079cc4f7b546da35fa10f7d8f4 Mon Sep 17 00:00:00 2001 From: qwell Date: Mon, 9 Apr 2007 19:05:48 +0000 Subject: Use the appropriate interface name with COMPLETECALLER. Issue 9395. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61022 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/app_queue.c b/apps/app_queue.c index ca492c758..6c2111bba 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", -- cgit v1.2.3