mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 17:27:02 +00:00
Merged revisions 293341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r293341 | rmudgett | 2010-10-29 19:46:41 -0500 (Fri, 29 Oct 2010) | 16 lines Merged revisions 293340 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r293340 | rmudgett | 2010-10-29 19:40:10 -0500 (Fri, 29 Oct 2010) | 9 lines Merged revisions 293339 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r293339 | rmudgett | 2010-10-29 19:34:12 -0500 (Fri, 29 Oct 2010) | 1 line Remove some code that serves no purpose. ........ ................ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@293342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8236,16 +8236,6 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
|
||||
if (((ast->pbx) || (ast->_state == AST_STATE_UP)) &&
|
||||
(p->transfertobusy || (ast->_state != AST_STATE_BUSY))) {
|
||||
int otherindex = SUB_THREEWAY;
|
||||
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, "Building conference on call on %s and %s\n", p->subs[SUB_THREEWAY].owner->name, p->subs[SUB_REAL].owner->name);
|
||||
/* Put them in the threeway, and flip */
|
||||
|
Reference in New Issue
Block a user