Merged revisions 38972 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Sat, 5 Aug 2006 08:10:20 +0000 (08:10 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 5 Aug 2006 08:10:20 +0000 (08:10 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r38972 | russell | 2006-08-05 04:08:48 -0400 (Sat, 05 Aug 2006) | 3 lines

remove duplicate queue log entry when the caller exits on a timeout
(issue #7616, ppyy)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38973 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index e53af16..774c8ca 100644 (file)
@@ -2135,7 +2135,6 @@ static int wait_our_turn(struct queue_ent *qe, int ringing, enum queue_result *r
                /* If we have timed out, break out */
                if (qe->expire && (time(NULL) > qe->expire)) {
                        *reason = QUEUE_TIMEOUT;
-                       ast_queue_log(qe->parent->name, qe->chan->uniqueid,"NONE", "EXITWITHTIMEOUT", "%d", qe->pos);
                        break;
                }