Summary: | ASTERISK-07420: [patch] duplicate queuelog | ||
Reporter: | Peng Yong (ppyy) | Labels: | |
Date Opened: | 2006-07-29 09:55:53 | Date Closed: | 2006-08-05 03:10:25 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_queue |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) patch.duplog | |
Description: | sort /var/log/asterisk/queue_log|uniq -c|sort -n|tail 2 1153881290|1153881183.25770|Operator|NONE|EXITWITHTIMEOUT|2 2 1153895206|1153895092.29443|Operator|NONE|EXITWITHTIMEOUT|2 2 1153985127|1153984891.41343|Operator|NONE|EXITWITHTIMEOUT|2 2 1154055601|1154055503.48055|Operator|NONE|EXITWITHTIMEOUT|2 if caller are queued 2 through maxlen and exit with timeout, there will be two duplicate log in the queue_log. | ||
Comments: | By: Peng Yong (ppyy) 2006-07-29 10:02:23 there is also a log after wait_our_turn(), line 3074 in app_queue.c, so remove the duplicate one in wait_our_turn(): /* Leave if we have exceeded our queuetimeout */ if (qe.expire && (time(NULL) > qe.expire)) { record_abandoned(&qe); reason = QUEUE_TIMEOUT; res = 0; ast_queue_log(queuename, chan->uniqueid,"NONE", "EXITWITHTIMEOUT", "%d", qe.pos); break; } By: Peng Yong (ppyy) 2006-07-29 10:02:37 1.2 have this bug also. By: Serge Vecher (serge-v) 2006-07-31 09:17:07 Ok, I'll mark this as 1.2.10 report, so this gets fixed in 1.2 also. Thank ppyy By: Russell Bryant (russell) 2006-08-05 03:10:25 fixed in 1.2 and the trunk in revisions 38972 and 38973, thanks! |