(closes issue #14227)
Reported by: caspy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@182121
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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;
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;