diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-16 21:16:51 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-16 21:16:51 +0000 |
commit | f89a988ddf967c4243802f1f29e07b97346262e1 (patch) | |
tree | e525ed86b9a107304ee1a039da250c98aba51260 /apps | |
parent | 6703a42c31d9d6c492c4c4497edcf27227cd13c2 (diff) |
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)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@277489 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 2f9b7c28f..32adfd7a3 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2192,7 +2192,7 @@ static int say_position(struct queue_ent *qe, int ringing) } } 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; |