aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_features.c')
-rw-r--r--res/res_features.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 36617da5a..d9e8ef55f 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1128,8 +1128,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, ""))
@@ -1224,8 +1224,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, ""))