diff --git a/res/res_fax.c b/res/res_fax.c index 55bd3c6b741358d0451e1232d3f0aa02a84918cf..76fe0ca9813de27e71914dc528ad4b4d31ec1318 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) {