[Asterisk-code-review] app queue: new variable set when abandoned (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Tue Nov 8 16:00:23 CST 2016


Richard Mudgett has posted comments on this change. ( https://gerrit.asterisk.org/4323 )

Change subject: app_queue: new variable set when abandoned
......................................................................


Patch Set 2: Code-Review-1

(1 comment)

https://gerrit.asterisk.org/#/c/4323/2/apps/app_queue.c
File apps/app_queue.c:

Line 4601: 	pbx_builtin_setvar_helper(qe->chan, "ABANDONED", "TRUE");
One of the things queue_exec() should do before the call joins the queue is to set ABANDONED to NULL to delete the channel variable.  Otherwise the channel variable could be left over from a previous queue that the caller left.

pbx_builtin_setvar_helper(qe->chan, "ABANDONED", NULL);


-- 
To view, visit https://gerrit.asterisk.org/4323
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I4729af9bff4eba436d8a776afd3374065d0036d3
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Sebastian Gutierrez <scgm11 at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Matthew Fredrickson <creslin at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Sebastian Gutierrez <scgm11 at gmail.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list