diff options
author | Terry Wilson <twilson@digium.com> | 2008-01-18 16:58:50 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2008-01-18 16:58:50 +0000 |
commit | d673f848c0df3b288ae0f8cd89a64b0b623ad5a2 (patch) | |
tree | 6011091873f1619839e74e0c4882870043c8b29c | |
parent | f124988a353eb42b30e8db8fcfc692ee68324835 (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: https://origsvn.digium.com/svn/asterisk/trunk@99026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | res/res_features.c | 8 |
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, "")) |