[Home]

Summary:ASTERISK-04712: 'n' option on cmd Queue is not currently functional
Reporter:pwinkeler (pwinkeler)Labels:
Date Opened:2005-07-27 16:29:37Date Closed:2008-01-15 15:43:04.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) diff.txt
Description:The 'n' option on the Queue command is supposed to limit the number of retries to 1.  However, due to a coding oversight, the current time comparison always fails and thus setting the 'n' option has no effect.

****** ADDITIONAL INFORMATION ******

A suggested fix is attached as a universal diff.
Comments:By: Russell Bryant (russell) 2005-07-27 18:50:11

I was able to see the problem without looking at your patch, since you don't have a disclaimer.  However, for something this small, it probably doesn't matter ...

In any case, it's fixed.

By: Digium Subversion (svnbot) 2008-01-15 15:43:04.000-0600

Repository: asterisk
Revision: 6238

U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r6238 | russell | 2008-01-15 15:43:03 -0600 (Tue, 15 Jan 2008) | 2 lines

the time must be initialized for the 'n' option to actually work (bug ASTERISK-4712)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6238