aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-25 01:52:58 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-25 01:52:58 +0000
commit3b24709d4d9708e8ab2b7c9fd0f5388472703a4a (patch)
treea107dac21d5a9409021420f5cc447c68beb54fa6 /apps/app_dial.c
parenta2af0c1a36fc7f4fa6b8596d5d25d1539d31ed6b (diff)
Merged revisions 8608 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r8608 | kpfleming | 2006-01-24 19:50:52 -0600 (Tue, 24 Jan 2006) | 2 lines ensure hangup cause code is handled properly when channel does not return a frame (issue #6346) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8609 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-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 25fa9cfc5..2dddc6439 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -657,6 +657,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;