From 63b2c28c4b5410d3876f175c8ec0d24c121c7b36 Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Fri, 13 Dec 2013 20:13:22 +0000 Subject: Transfers: Make Asterisk set ATTENDEDTRANSFER/BLINDTRANSFER more reliably There were still a few cases in which ATTENDEDTRANSFER and BLINDTRANSFER wouldn't be set on channels involved with blind and attended transfers. This would happen with features that were initialized by channel driver specific mechanisms in multiparty calls. This patch resolves those cases while attempted to keep the behavior for setting those variables as consistent as possible. (closes issue AFS-24) Review: https://reviewboard.asterisk.org/r/3040/ ........ Merged revisions 403781 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403783 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/parking/parking_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/parking/parking_manager.c') diff --git a/res/parking/parking_manager.c b/res/parking/parking_manager.c index 0c577018a..60baa6510 100644 --- a/res/parking/parking_manager.c +++ b/res/parking/parking_manager.c @@ -453,7 +453,7 @@ static int manager_park(struct mansession *s, const struct message *m) ast_channel_lock(chan); if (!ast_strlen_zero(timeout_channel)) { - pbx_builtin_setvar_helper(chan, "BLINDTRANSFER", timeout_channel); + ast_bridge_set_transfer_variables(chan, timeout_channel, 0); } ast_channel_unlock(chan); -- cgit v1.2.3