[asterisk-commits] file: trunk r47560 - /trunk/apps/app_meetme.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Nov 13 10:55:25 MST 2006
Author: file
Date: Mon Nov 13 11:55:24 2006
New Revision: 47560
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47560
Log:
Don't play the "entering conference number <insert number here>" 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)
Modified:
trunk/apps/app_meetme.c
Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?view=diff&rev=47560&r1=47559&r2=47560
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Mon Nov 13 11:55:24 2006
@@ -2315,10 +2315,12 @@
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);
More information about the asterisk-commits
mailing list