aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-18 16:58:50 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-18 16:58:50 +0000
commit3ccde56001c66a633ab8027085e3b93615613a0b (patch)
tree6011091873f1619839e74e0c4882870043c8b29c
parentc7e5938e4858bdaebee92c14b33461ce4f587c30 (diff)
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-trunk-r97657.diff uploaded by sergee (license 138) Tested by: sergee, otherwiseguy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99026 f38db490-d61c-443f-a65b-d21fe96a405b
-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, ""))