[asterisk-commits] jpeeler: branch 1.6.2 r277489 - in /branches/1.6.2: ./ apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 16 16:16:55 CDT 2010


Author: jpeeler
Date: Fri Jul 16 16:16:51 2010
New Revision: 277489

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=277489
Log:
Merged revisions 277488 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r277488 | jpeeler | 2010-07-16 16:16:08 -0500 (Fri, 16 Jul 2010) | 10 lines
  
  Fix reporting estimated queue hold time.
  
  Just say the number of seconds (after minutes) rather than doing some incorrect
  calculation with respect to minutes.
  
  (closes issue #17498)
  Reported by: corruptor
  Patches: 
        holdesecs_bug.diff uploaded by corruptor (license 253)
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/apps/app_queue.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_queue.c?view=diff&rev=277489&r1=277488&r2=277489
==============================================================================
--- branches/1.6.2/apps/app_queue.c (original)
+++ branches/1.6.2/apps/app_queue.c Fri Jul 16 16:16:51 2010
@@ -2192,7 +2192,7 @@
 			}
 		}
 		if (avgholdsecs >= 1) {
-			res = ast_say_number(qe->chan, avgholdmins > 1 ? avgholdsecs : avgholdmins * 60 + avgholdsecs, AST_DIGIT_ANY, qe->chan->language, NULL);
+			res = ast_say_number(qe->chan, avgholdsecs, AST_DIGIT_ANY, qe->chan->language, NULL);
 			if (res)
 				goto playout;
 




More information about the asterisk-commits mailing list