mod_fifo: Remove duplicate check in ringall strategy

We already checked the number of usable rows, and nothing has changed.
This commit is contained in:
Travis Cross 2014-05-26 21:19:56 +00:00
parent 343aee2dd8
commit 80ccaf3450
1 changed files with 0 additions and 2 deletions

View File

@ -1593,8 +1593,6 @@ static void *SWITCH_THREAD_FUNC outbound_ringall_thread_run(switch_thread_t *thr
fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE); fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE);
} }
if (!total) goto end;
if (!globals.allow_transcoding && !switch_true(switch_event_get_header(pop, "variable_fifo_allow_transcoding")) && if (!globals.allow_transcoding && !switch_true(switch_event_get_header(pop, "variable_fifo_allow_transcoding")) &&
(codec = switch_event_get_header(pop, "variable_rtp_use_codec_name"))) { (codec = switch_event_get_header(pop, "variable_rtp_use_codec_name"))) {
const char *rate = switch_event_get_header(pop, "variable_rtp_use_codec_rate"); const char *rate = switch_event_get_header(pop, "variable_rtp_use_codec_rate");