[asterisk-commits] oej: trunk r172319 - /trunk/channels/chan_local.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 29 11:10:43 CST 2009


Author: oej
Date: Thu Jan 29 11:10:43 2009
New Revision: 172319

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=172319
Log:
Revert two lines that was extra, but only on fridays.

Modified:
    trunk/channels/chan_local.c

Modified: trunk/channels/chan_local.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_local.c?view=diff&rev=172319&r1=172318&r2=172319
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Thu Jan 29 11:10:43 2009
@@ -578,7 +578,6 @@
 		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 @@
 			DEADLOCK_AVOIDANCE(&p->lock);
 		}
 		if (p->chan) {
-			p->chan->hangupcause = ast->hangupcause;
 			ast_queue_hangup(p->chan);
 			ast_channel_unlock(p->chan);
 		}




More information about the asterisk-commits mailing list