diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-17 23:18:51 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-17 23:18:51 +0000 |
commit | 9ed9bbabf4b8ff0294c44090db38596e4372f7ab (patch) | |
tree | a3f2ce4fd65d5aa1475c1c2759546c3e95ee294f /apps/app_followme.c | |
parent | 9c024540238f1c193d392978b6d7517a75c54e6a (diff) |
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
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r-- | apps/app_followme.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |