aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-09 19:05:48 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-09 19:05:48 +0000
commita044282ad29644079cc4f7b546da35fa10f7d8f4 (patch)
treee052d758f02e5db9b06634447ed845d5ef1997e6 /apps/app_queue.c
parent06afe72ddde29a01ab01380a6136c35913c8b619 (diff)
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
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
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",