[Asterisk-code-review] bridge: Fix returning to dialplan when executing Bridge acti... (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Tue May 2 07:58:30 CDT 2017
Hello Jenkins2,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/5567
to look at the new patch set (#2).
Change subject: bridge: Fix returning to dialplan when executing Bridge action from AMI.
......................................................................
bridge: Fix returning to dialplan when executing Bridge action from AMI.
When using the Bridge AMI action on the same channel multiple times
it was possible for the channel to return to the wrong location in
the dialplan if the other party hung up. This happened because the
priority of the channel was not preserved across each action
invocation and it would fail to move on to the next priority in
other cases.
This change makes it so that the priority of a channel is preserved
when taking control of it from another thread. Additionally the
Bridge AMI action was changed to ensure that the next priority was
explicitly executed instead of relying on internal behavior which
could result in the wrong thing being executed.
ASTERISK-24529
Change-Id: I52406669cf64208aef7252a65b63ade31fbf7a5a
---
M main/channel.c
M main/features.c
2 files changed, 7 insertions(+), 10 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/67/5567/2
--
To view, visit https://gerrit.asterisk.org/5567
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I52406669cf64208aef7252a65b63ade31fbf7a5a
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Jenkins2
More information about the asterisk-code-review
mailing list