diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-25 01:50:52 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-25 01:50:52 +0000 |
commit | 3995d917f28d94f1ee31cd0f0341c591c99c50e4 (patch) | |
tree | 7f4b3f4ec7017d1d276617456646bd646bcd2cc8 | |
parent | 21cdd944133d98c46590fb279f23772a7db67d37 (diff) |
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/branches/1.2@8608 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_dial.c | 1 |
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; |