diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-27 02:15:21 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-27 02:15:21 +0000 |
commit | d9b23660d8a862a3978640bbd9e953ddee84c982 (patch) | |
tree | 5a5bc6c25a4d4337da1f670abd5f8ebec274a57b /apps/app_queue.c | |
parent | 1c28724cda23c93581073eeb927a12a454bfe2f0 (diff) |
Merged revisions 52416 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r52416 | file | 2007-01-26 21:13:41 -0500 (Fri, 26 Jan 2007) | 10 lines
Merged revisions 52415 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52415 | file | 2007-01-26 21:09:10 -0500 (Fri, 26 Jan 2007) | 2 lines
Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52417 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 716141c4a..a692d1529 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2728,8 +2728,8 @@ 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", - (long) (callstart - qe->start), (long) (time(NULL) - callstart)); + ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "COMPLETECALLER", "%ld|%ld|%d", + (long) (callstart - qe->start), (long) (time(NULL) - callstart), qe->opos); if (qe->parent->eventwhencalled) manager_event(EVENT_FLAG_AGENT, "AgentComplete", "Queue: %s\r\n" @@ -2745,8 +2745,8 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce (long)(callstart - qe->start), (long)(time(NULL) - callstart), qe->parent->eventwhencalled == QUEUE_EVENT_VARIABLES ? vars2manager(qe->chan, vars, sizeof(vars)) : ""); } else { - ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETEAGENT", "%ld|%ld", - (long) (callstart - qe->start), (long) (time(NULL) - callstart)); + ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETEAGENT", "%ld|%ld|%d", + (long) (callstart - qe->start), (long) (time(NULL) - callstart), qe->opos); if (qe->parent->eventwhencalled) manager_event(EVENT_FLAG_AGENT, "AgentComplete", "Queue: %s\r\n" |