]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use the correct language when playing the transfer sound (issue #7109 reported by...
authorJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 20:15:04 +0000 (20:15 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 20:15:04 +0000 (20:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29512 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index eaae5816da951b5917bd5fa727ad6d3bc40d3ff0..30c00db27d143f733a788429af16b2eb0574d84e 100644 (file)
@@ -641,7 +641,7 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p
                        ast_verbose(VERBOSE_PREFIX_3 "Unable to find extension '%s' in context '%s'\n", newext, transferer_real_context);
        }
        if (!ast_strlen_zero(xferfailsound))
-               res = ast_streamfile(transferer, xferfailsound, transferee->language);
+               res = ast_streamfile(transferer, xferfailsound, transferer->language);
        else
                res = 0;
        if (res) {