aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-18 17:13:00 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-18 17:13:00 +0000
commitf67348cc011b9fe9987fb5e952bf2176be68bc2b (patch)
tree9fda8ca22a0ca10fb97df6ea099bedb6a0b67a4f /res
parentefd397c917b52ddd42b08be421bf48a5247289c1 (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-b14-r97657.diff uploaded by sergee (license 138) Tested by: sergee, otherwiseguy git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@99032 f38db490-d61c-443f-a65b-d21fe96a405b
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, ""))