From: Joshua Colp Date: Mon, 13 Nov 2006 17:55:24 +0000 (+0000) Subject: Don't play the "entering conference number " prompts if the ... X-Git-Tag: 1.6.0-beta1~3^2~4007 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4546bd26fce8375ad4c2fd05b1796871759eb1d8;p=thirdparty%2Fasterisk.git Don't play the "entering conference number " prompts if the 'q' option is used. If others believe this should be in 1.2/1.4 then we can put it in, but I'm uncomfortable doing so right now as it is a change of behavior. (issue #8138 reported by tmancill) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47560 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index f2e3e0ccfc..ce91129caf 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -2315,10 +2315,12 @@ static int conf_exec(struct ast_channel *chan, void *data) ast_waitstream(chan, ""); } else { if (sscanf(confno, "%d", &confno_int) == 1) { - res = ast_streamfile(chan, "conf-enteringno", chan->language); - if (!res) { - ast_waitstream(chan, ""); - res = ast_say_digits(chan, confno_int, "", chan->language); + if (!ast_test_flag(&confflags, CONFFLAG_QUIET)) { + res = ast_streamfile(chan, "conf-enteringno", chan->language); + if (!res) { + ast_waitstream(chan, ""); + res = ast_say_digits(chan, confno_int, "", chan->language); + } } } else { ast_log(LOG_ERROR, "Could not scan confno '%s'\n", confno);