[asterisk-commits] jpeeler: branch jpeeler/bug13173 r154969 - /team/jpeeler/bug13173/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 6 12:22:59 CST 2008
Author: jpeeler
Date: Thu Nov 6 12:22:58 2008
New Revision: 154969
URL: http://svn.digium.com/view/asterisk?view=rev&rev=154969
Log:
only delete the recording if one exists
Modified:
team/jpeeler/bug13173/apps/app_meetme.c
Modified: team/jpeeler/bug13173/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/jpeeler/bug13173/apps/app_meetme.c?view=diff&rev=154969&r1=154968&r2=154969
==============================================================================
--- team/jpeeler/bug13173/apps/app_meetme.c (original)
+++ team/jpeeler/bug13173/apps/app_meetme.c Thu Nov 6 12:22:58 2008
@@ -2427,7 +2427,7 @@
AST_LIST_INSERT_TAIL(&conf->announcelist, item, entry);
ast_cond_signal(&conf->announcelist_addition);
AST_LIST_UNLOCK(&conf->announcelist);
- } else if (conf->users == 1) {
+ } else if (!(confflags & CONFFLAG_QUIET) && ((confflags & CONFFLAG_INTROUSER) || (confflags & CONFFLAG_INTROUSERNOREVIEW)) && conf->users == 1) {
/* Last person is leaving, so no reason to try and announce, but should delete the name recording */
ast_filedelete(user->namerecloc, NULL);
}
More information about the asterisk-commits
mailing list