From eab2f166c318267695737f89c55d5ec1761a84c4 Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Fri, 18 Jan 2008 17:13:00 +0000 Subject: [PATCH] This should at least temporarily fix a problem where the 't' Dial option is incorrectly passed to the transferee when built-in attended transfers are used. There is still a problem with 'T', but better to fix some problems than no problems while we work on it. (closes issue #7904) Reported by: k-egg Patches: transfer-fix-b14-r97657.diff uploaded by sergee (license 138) Tested by: sergee, otherwiseguy git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99032 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_features.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/res_features.c b/res/res_features.c index 5eaa5b2e3b..0fdfbb0364 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -882,8 +882,8 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st ast_hangup(newchan); return -1; } - tobj->chan = xferchan; - tobj->peer = newchan; + tobj->chan = newchan; + tobj->peer = xferchan; tobj->bconfig = *config; if (ast_stream_and_wait(newchan, xfersound, newchan->language, ""))