continue;
}
- if (ok && switch_test_flag(bp, SMBF_READ_REPLACE)) {
+ if (switch_test_flag(bp, SMBF_READ_REPLACE)) {
do_bugs = 0;
if (bp->callback) {
bp->read_replace_frame_in = read_frame;
continue;
}
- if (ok && bp->ready && switch_test_flag(bp, SMBF_READ_STREAM)) {
+ if (bp->ready && switch_test_flag(bp, SMBF_READ_STREAM)) {
switch_mutex_lock(bp->read_mutex);
if (bp->read_demux_frame) {
uint8_t data[SWITCH_RECOMMENDED_BUFFER_SIZE];
}
}
- if (do_bugs || tap_only) {
+ if (do_bugs) {
goto done;
}
return SWITCH_STATUS_FALSE;
}
+ switch_assert(dtmf);
+
if (switch_test_flag(dtmf, DTMF_FLAG_SENSITIVE)) {
return SWITCH_STATUS_SUCCESS;
}
- switch_assert(dtmf);
-
new_dtmf = *dtmf;
if (new_dtmf.duration > switch_core_max_dtmf_duration(0)) {