]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix DTMF blind transfer continuing to execute dialplan after transfer.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 13 Oct 2011 22:48:58 +0000 (22:48 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 13 Oct 2011 22:48:58 +0000 (22:48 +0000)
commit85c808bfc441e2cb00fbc900b5e4ae686ce44eee
tree4be6b0c5e48944cf85c382c03ecc12ccae262a4a
parent598b45b1756471cc2cd50c8ab321617af5248354
Fix DTMF blind transfer continuing to execute dialplan after transfer.

Party A calls Party B.
Party A DTMF blind transfers Party B to Party C.
Party A channel continues to execute dialplan.

* Fixed the return value of builtin_blindtransfer() to return the correct
value after a transfer so the dialplan will not keep executing.

* Removed unnecessary connected line update that did not really do
anything.

* Made access to GOTO_ON_BLINDXFR thread safe in check_goto_on_transfer().

* Fixed leak of xferchan for failure cases in check_goto_on_transfer().

* Updated debug messages in builtin_blindtransfer() and
check_goto_on_transfer().

(closes issue ASTERISK-18275)
Reported by: rmudgett
Tested by: rmudgett

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features.c