[Asterisk-code-review] app_queue: Remove stale code in try_calling (asterisk[16])
Friendly Automation
asteriskteam at digium.com
Wed Jun 17 08:32:06 CDT 2020
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/14559 )
Change subject: app_queue: Remove stale code in try_calling
......................................................................
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
---
M apps/app_queue.c
1 file changed, 0 insertions(+), 3 deletions(-)
Approvals:
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 45a7096..87e2f05 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -6868,9 +6868,6 @@
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);
}
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14559
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I564613715dfaf45af868251eb75a451f512af90f
Gerrit-Change-Number: 14559
Gerrit-PatchSet: 1
Gerrit-Owner: Walter Doekes <walter+asterisk at wjd.nu>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200617/090d916a/attachment.html>
More information about the asterisk-code-review
mailing list