Skip to content
Snippets Groups Projects
Commit d673f848 authored by Terry Wilson's avatar Terry Wilson
Browse files

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
parent f124988a
Branches
Tags
No related merge requests found
...@@ -1128,8 +1128,8 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st ...@@ -1128,8 +1128,8 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st
ast_hangup(newchan); ast_hangup(newchan);
return -1; return -1;
} }
tobj->chan = xferchan; tobj->chan = newchan;
tobj->peer = newchan; tobj->peer = xferchan;
tobj->bconfig = *config; tobj->bconfig = *config;
if (ast_stream_and_wait(newchan, xfersound, "")) if (ast_stream_and_wait(newchan, xfersound, ""))
...@@ -1224,8 +1224,8 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st ...@@ -1224,8 +1224,8 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st
ast_hangup(newchan); ast_hangup(newchan);
return -1; return -1;
} }
tobj->chan = xferchan; tobj->chan = newchan;
tobj->peer = newchan; tobj->peer = xferchan;
tobj->bconfig = *config; tobj->bconfig = *config;
if (ast_stream_and_wait(newchan, xfersound, "")) if (ast_stream_and_wait(newchan, xfersound, ""))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment