mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
app_queue: Remove stale code in try_calling
Because ring_entry() is not called, outgoing->chan is not touched here either. ASTERISK-28950 ASTERISK-28644 Change-Id: I564613715dfaf45af868251eb75a451f512af90f
This commit is contained in:
committed by
Friendly Automation
parent
50ba662b6a
commit
bcc7766bf6
@@ -6649,9 +6649,6 @@ static int try_calling(struct queue_ent *qe, struct ast_flags opts, char **opt_a
|
||||
hung up XXX */
|
||||
tmp->q_next = outgoing;
|
||||
outgoing = tmp;
|
||||
/* If this line is up, don't try anybody else */
|
||||
if (outgoing->chan && (ast_channel_state(outgoing->chan) == AST_STATE_UP))
|
||||
break;
|
||||
} else {
|
||||
callattempt_free(tmp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user