aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_local.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-29 17:10:43 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-29 17:10:43 +0000
commit1c2618a19a7ff42dd20dae146f5dc44a58579b5b (patch)
tree70c331ae8f9ff514f07f47245850058b1e5bb0dc /channels/chan_local.c
parent10712d118c170020a39fe18f2394bb0172c9f5f5 (diff)
Revert two lines that was extra, but only on fridays.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@172319 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r--channels/chan_local.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c
index 71994c20b..330972567 100644
--- a/channels/chan_local.c
+++ b/channels/chan_local.c
@@ -578,7 +578,6 @@ static int local_hangup(struct ast_channel *ast)
ast_set_flag(p->chan, AST_FLAG_ANSWERED_ELSEWHERE);
ast_debug(2, "This local call has the ANSWERED_ELSEWHERE flag set.\n");
}
- /* Make sure the hangupcause follows down the chain of channels */
if (isoutbound) {
const char *status = pbx_builtin_getvar_helper(p->chan, "DIALSTATUS");
@@ -610,7 +609,6 @@ static int local_hangup(struct ast_channel *ast)
DEADLOCK_AVOIDANCE(&p->lock);
}
if (p->chan) {
- p->chan->hangupcause = ast->hangupcause;
ast_queue_hangup(p->chan);
ast_channel_unlock(p->chan);
}