]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_basic.c: Fix GOTO_ON_BLINDXFR 59/1859/1
authorRichard Mudgett <rmudgett@digium.com>
Wed, 23 Dec 2015 23:40:39 +0000 (17:40 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 24 Dec 2015 20:41:44 +0000 (14:41 -0600)
commitb3024cad103b6b661e0f179ca61f43738f8e09e3
tree034bfea4101368f525528e86ddac9d0ca08185f2
parent1e24a0ca8ae075af2814668fc99ecfabb47423b3
bridge_basic.c: Fix GOTO_ON_BLINDXFR

Use of GOTO_ON_BLINDXFR would not work at all.  The target location would
never be executed by the transferring channel.

* Made feature_blind_transfer() call ast_bridge_set_after_go_on() with
valid context, exten, and priority parameters from the transferring
channel.

* Renamed some feature_blind_transfer() local variables for clarity.

ASTERISK-25641 #close
Reported by Dmitry Melekhov

Change-Id: I19bead9ffdc4aee8d58c654ca05a198da1e4b7ac
main/bridge_basic.c