aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/app_dial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 9e9003509..4ef6cad83 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -648,6 +648,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
ast_hangup(o->chan);
o->chan = NULL;
ast_clear_flag(o, DIAL_STILLGOING);
+ HANDLE_CAUSE(in->hangupcause, in);
}
}
o = o->next;