[asterisk-commits] rmudgett: branch 1.8 r293418 - in /branches/1.8: ./ channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 29 20:53:32 CDT 2010


Author: rmudgett
Date: Fri Oct 29 20:53:29 2010
New Revision: 293418

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=293418
Log:
Merged revisions 293417 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r293417 | rmudgett | 2010-10-29 20:49:15 -0500 (Fri, 29 Oct 2010) | 9 lines
  
  Merged revisions 293416 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r293416 | rmudgett | 2010-10-29 20:45:49 -0500 (Fri, 29 Oct 2010) | 1 line
    
    Remove some more code that serves no purpose.
  ........
................

Modified:
    branches/1.8/   (props changed)
    branches/1.8/channels/chan_dahdi.c
    branches/1.8/channels/sig_analog.c

Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.

Modified: branches/1.8/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_dahdi.c?view=diff&rev=293418&r1=293417&r2=293418
==============================================================================
--- branches/1.8/channels/chan_dahdi.c (original)
+++ branches/1.8/channels/chan_dahdi.c Fri Oct 29 20:53:29 2010
@@ -8168,17 +8168,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;
-
 						ast_verb(3, "Started three way call on channel %d\n", p->channel);
 
 						/* Start music on hold if appropriate */

Modified: branches/1.8/channels/sig_analog.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/sig_analog.c?view=diff&rev=293418&r1=293417&r2=293418
==============================================================================
--- branches/1.8/channels/sig_analog.c (original)
+++ branches/1.8/channels/sig_analog.c Fri Oct 29 20:53:29 2010
@@ -3113,20 +3113,8 @@
 						analog_set_echocanceller(p, 1);
 						ast_hangup(chan);
 					} else {
- 						struct ast_channel *other = ast_bridged_channel(p->subs[ANALOG_SUB_THREEWAY].owner);
- 						int way3bridge = 0, cdr3way = 0;
-
-						if (!other) {
-							other = ast_bridged_channel(p->subs[ANALOG_SUB_REAL].owner);
-						} else {
-							way3bridge = 1;
-						}
-
-						if (p->subs[ANALOG_SUB_THREEWAY].owner->cdr) {
-							cdr3way = 1;
-						}
-
 						ast_verb(3, "Started three way call on channel %d\n", p->channel);
+
 						/* Start music on hold if appropriate */
 						if (ast_bridged_channel(p->subs[ANALOG_SUB_THREEWAY].owner)) {
 							ast_queue_control_data(p->subs[ANALOG_SUB_THREEWAY].owner, AST_CONTROL_HOLD,




More information about the asterisk-commits mailing list