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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2006-05-22 20:15:04 +00:00
parent f0e022bbad
commit 7018a80e91

View 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) {