From e07c977f1825c0362378386589d0a2829504858d Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 25 Jan 2006 01:50:52 +0000 Subject: [PATCH] ensure hangup cause code is handled properly when channel does not return a frame (issue #6346) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8608 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_dial.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_dial.c b/apps/app_dial.c index 9e90035098..4ef6cad83c 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;