aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index cb5b12644..c99000f9f 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1903,7 +1903,7 @@ static int say_position(struct queue_ent *qe, int ringing)
if (res)
goto playout;
- if (avgholdmins > 1) {
+ if (avgholdmins >= 1) {
res = ast_say_number(qe->chan, avgholdmins, AST_DIGIT_ANY, qe->chan->language, NULL);
if (res)
goto playout;
@@ -1918,7 +1918,7 @@ static int say_position(struct queue_ent *qe, int ringing)
goto playout;
}
}
- if (avgholdsecs > 1) {
+ if (avgholdsecs >= 1) {
res = ast_say_number(qe->chan, avgholdmins > 1 ? avgholdsecs : avgholdmins * 60 + avgholdsecs, AST_DIGIT_ANY, qe->chan->language, NULL);
if (res)
goto playout;