aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 408a7734b..d7bc60a6d 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -3610,7 +3610,7 @@ static void zt_handle_dtmfup(struct ast_channel *ast, int index, struct ast_fram
*dest = &p->subs[index].f;
} else if (f->subclass == 'f') {
/* Fax tone -- Handle and return NULL */
- if (!p->faxhandled) {
+ if ((p->callprogress & 0x6) && !p->faxhandled) {
p->faxhandled++;
if (strcmp(ast->exten, "fax")) {
const char *target_context = S_OR(ast->macrocontext, ast->context);