summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/res_fax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_fax.c b/res/res_fax.c
index 55bd3c6b7..76fe0ca98 100644
--- a/res/res_fax.c
+++ b/res/res_fax.c
@@ -3412,7 +3412,7 @@ static struct ast_frame *fax_detect_framehook(struct ast_channel *chan, struct a
case AST_FRAME_VOICE:
/* we have no DSP this means we not detecting CNG */
if (!faxdetect->dsp) {
- break;
+ return f;
}
/* We can only process some formats*/
switch (f->subclass.format.id) {