Merged revisions 29512 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 20:19:00 +0000 (20:19 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 20:19:00 +0000 (20:19 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29512 | file | 2006-05-22 17:15:04 -0300 (Mon, 22 May 2006) | 2 lines

Use the correct language when playing the transfer sound (issue #7109 reported by casper)

........

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

res/res_features.c

index 8ab36c6..9596e1f 100644 (file)
@@ -638,7 +638,7 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p
                if (option_verbose > 2) 
                        ast_verbose(VERBOSE_PREFIX_3 "Unable to find extension '%s' in context '%s'\n", xferto, transferer_real_context);
        }
-       if (ast_stream_and_wait(transferer, xferfailsound, transferee->language, AST_DIGIT_ANY) < 0 ) {
+       if (ast_stream_and_wait(transferer, xferfailsound, transferer->language, AST_DIGIT_ANY) < 0 ) {
                finishup(transferee);
                return -1;
        }