aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 5eaa5b2e3..0fdfbb036 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, ""))