From: Olle Johansson Date: Thu, 29 Jan 2009 17:10:43 +0000 (+0000) Subject: Revert two lines that was extra, but only on fridays. X-Git-Tag: 1.6.2.0-beta1~329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efd658654651ac0b1dc58f9bfd3c1402f150065e;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_local.c b/channels/chan_local.c index 71994c20b8..3309725674 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); }