From 9ed9bbabf4b8ff0294c44090db38596e4372f7ab Mon Sep 17 00:00:00 2001 From: murf Date: Fri, 17 Nov 2006 23:18:51 +0000 Subject: This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47821 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_followme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_followme.c') diff --git a/apps/app_followme.c b/apps/app_followme.c index f83cfa165..27667b22f 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -982,7 +982,7 @@ static int app_exec(struct ast_channel *chan, void *data) ast_mutex_unlock(&f->lock); if (targs.followmeflags.flags & FOLLOWMEFLAG_STATUSMSG) - ast_stream_and_wait(chan, targs.statusprompt, chan->language, ""); + ast_stream_and_wait(chan, targs.statusprompt, ""); snprintf(namerecloc,sizeof(namerecloc),"%s/followme.%s",ast_config_AST_SPOOL_DIR,chan->uniqueid); duration = 5; @@ -1022,7 +1022,7 @@ static int app_exec(struct ast_channel *chan, void *data) if (targs.status != 100) { ast_moh_stop(chan); if (targs.followmeflags.flags & FOLLOWMEFLAG_UNREACHABLEMSG) - ast_stream_and_wait(chan, targs.sorryprompt, chan->language, ""); + ast_stream_and_wait(chan, targs.sorryprompt, ""); res = 0; } else { caller = chan; -- cgit v1.2.3