From: Joshua Colp Date: Mon, 22 May 2006 20:15:04 +0000 (+0000) Subject: Use the correct language when playing the transfer sound (issue #7109 reported by... X-Git-Tag: 1.2.9.1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7018a80e91a77e4e01e18d504b11fcb1a22dc866;p=thirdparty%2Fasterisk.git 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 --- diff --git a/res/res_features.c b/res/res_features.c index eaae5816da..30c00db27d 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -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) {