[Asterisk-code-review] app_queue: Remove stale code in try_calling (asterisk[13])

Walter Doekes asteriskteam at digium.com
Mon Jun 15 06:53:25 CDT 2020


Walter Doekes has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/14561 )


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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/61/14561/1

diff --git a/apps/app_queue.c b/apps/app_queue.c
index 3a572ef..1580734 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -6649,9 +6649,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/+/14561
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I564613715dfaf45af868251eb75a451f512af90f
Gerrit-Change-Number: 14561
Gerrit-PatchSet: 1
Gerrit-Owner: Walter Doekes <walter+asterisk at wjd.nu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200615/25651aa0/attachment.html>


More information about the asterisk-code-review mailing list