mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 22:50:42 +00:00
remove duplicate queue log entry when the caller exits on a timeout
(issue #7616, ppyy) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2018,7 +2018,6 @@ static int wait_our_turn(struct queue_ent *qe, int ringing, enum queue_result *r
|
|||||||
/* If we have timed out, break out */
|
/* If we have timed out, break out */
|
||||||
if (qe->expire && (time(NULL) > qe->expire)) {
|
if (qe->expire && (time(NULL) > qe->expire)) {
|
||||||
*reason = QUEUE_TIMEOUT;
|
*reason = QUEUE_TIMEOUT;
|
||||||
ast_queue_log(qe->parent->name, qe->chan->uniqueid,"NONE", "EXITWITHTIMEOUT", "%d", qe->pos);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user