]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge Script <automerge@asterisk.org>
Sat, 27 Jan 2007 03:17:51 +0000 (03:17 +0000)
committerAutomerge Script <automerge@asterisk.org>
Sat, 27 Jan 2007 03:17:51 +0000 (03:17 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@52459 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 1e5fd8306b9a5cbb571a6a2f5474869b0c1e21f5..64117322f78c059550db4aeb8e4546d307f4d657 100644 (file)
@@ -2420,8 +2420,8 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
                if (strcasecmp(oldcontext, qe->chan->context) || strcasecmp(oldexten, qe->chan->exten)) {
                        ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "TRANSFER", "%s|%s", qe->chan->exten, qe->chan->context);
                } 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"
@@ -2434,7 +2434,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
                                              queuename, qe->chan->uniqueid, peer->name, member->interface,
                                              (long)(callstart - qe->start), (long)(time(NULL) - callstart));
                } else {
-                       ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "COMPLETEAGENT", "%ld|%ld", (long)(callstart - qe->start), (long)(time(NULL) - callstart));
+                       ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "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"