mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
Merged revisions 293418 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r293418 | rmudgett | 2010-10-29 20:53:29 -0500 (Fri, 29 Oct 2010) | 16 lines 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. ........ ................ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@293419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3113,20 +3113,8 @@ static struct ast_frame *__analog_handle_event(struct analog_pvt *p, struct ast_
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user