From: Walter Doekes Date: Mon, 15 Jun 2020 11:53:31 +0000 (+0200) Subject: app_queue: Remove stale code in try_calling X-Git-Tag: 16.12.0-rc1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8cb8957ecc009f3e7fa7cdd732c05e4177daeac;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 45a709620d..87e2f059ae 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -6868,9 +6868,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); }