Don't play the "entering conference number <insert number here>" prompts if the ...
authorJoshua Colp <jcolp@digium.com>
Mon, 13 Nov 2006 17:55:24 +0000 (17:55 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 13 Nov 2006 17:55:24 +0000 (17:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47560 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index f2e3e0c..ce91129 100644 (file)
@@ -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);