diff --git a/res/res_fax.c b/res/res_fax.c index e746650e50..49812167c9 100644 --- a/res/res_fax.c +++ b/res/res_fax.c @@ -2843,6 +2843,8 @@ static struct ast_frame *fax_gateway_framehook(struct ast_channel *chan, struct } } + details->caps &= ~AST_FAX_TECH_GATEWAY; + ao2_ref(details, -1); return NULL; }