summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2009-01-29 17:10:43 +0000
committerOlle Johansson <oej@edvina.net>2009-01-29 17:10:43 +0000
commitefd658654651ac0b1dc58f9bfd3c1402f150065e (patch)
tree70c331ae8f9ff514f07f47245850058b1e5bb0dc /channels
parent7ecda454826ec42c79a6e6537963568c7e9b28b9 (diff)
Revert two lines that was extra, but only on fridays.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@172319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-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);
}