[asterisk-commits] rmudgett: branch 1.4 r293416 - /branches/1.4/channels/chan_dahdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Oct 29 20:45:51 CDT 2010
Author: rmudgett
Date: Fri Oct 29 20:45:49 2010
New Revision: 293416
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=293416
Log:
Remove some more code that serves no purpose.
Modified:
branches/1.4/channels/chan_dahdi.c
Modified: branches/1.4/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_dahdi.c?view=diff&rev=293416&r1=293415&r2=293416
==============================================================================
--- branches/1.4/channels/chan_dahdi.c (original)
+++ branches/1.4/channels/chan_dahdi.c Fri Oct 29 20:45:49 2010
@@ -4915,17 +4915,6 @@
dahdi_enable_ec(p);
ast_hangup(chan);
} else {
- struct ast_channel *other = ast_bridged_channel(p->subs[SUB_THREEWAY].owner);
- int way3bridge = 0, cdr3way = 0;
-
- if (!other) {
- other = ast_bridged_channel(p->subs[SUB_REAL].owner);
- } else
- way3bridge = 1;
-
- if (p->subs[SUB_THREEWAY].owner->cdr)
- cdr3way = 1;
-
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Started three way call on channel %d\n", p->channel);
/* Start music on hold if appropriate */
More information about the asterisk-commits
mailing list