This mod via bug 7531

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Steve Murphy 20 years ago
parent 2907433599
commit 2e375b388e

@ -3882,7 +3882,11 @@ enum ast_bridge_result ast_channel_bridge(struct ast_channel *c0, struct ast_cha
bridge_playfile(c1, c0, config->warning_sound, t);
}
if (config->warning_freq) {
nexteventts = ast_tvadd(nexteventts, ast_samp2tv(config->warning_freq, 1000));
if (time_left_ms > (config->warning_freq + 5000)) {
nexteventts = ast_tvadd(nexteventts, ast_samp2tv(config->warning_freq, 1000));
}
} else
nexteventts = ast_tvadd(config->start_time, ast_samp2tv(config->timelimit, 1000));
}

Loading…
Cancel
Save