]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fixes ringback tone on feature semi-attended transfer
authorDavid Vossel <dvossel@digium.com>
Thu, 4 Nov 2010 21:28:12 +0000 (21:28 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 4 Nov 2010 21:28:12 +0000 (21:28 +0000)
ABE-2168

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@293922 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index 98760ccd2a50a6772a060e93a7253fbedb907cf2..893d0fac1439457e29833cf819d46f2d0f19f931 100644 (file)
@@ -1009,6 +1009,9 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st
                case AST_CONTROL_RINGING:
                {
                        int connected = 0;
+
+                       ast_indicate(transferee, AST_CONTROL_UNHOLD);
+                       ast_indicate(transferee, AST_CONTROL_RINGING);
                        while (!connected && (ast_waitfor(newchan, -1) >= 0)) {
                                if ((f = ast_read(newchan)) == NULL) {
                                        break;