[asterisk-commits] branch 1.2 r13851 - /branches/1.2/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 21 08:53:28 MST 2006


Author: russell
Date: Tue Mar 21 09:53:27 2006
New Revision: 13851

URL: http://svn.digium.com/view/asterisk?rev=13851&view=rev
Log:
don't add conference participant if the user hangs up while recording their name (issue #6661)

Modified:
    branches/1.2/apps/app_meetme.c

Modified: branches/1.2/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_meetme.c?rev=13851&r1=13850&r2=13851&view=diff
==============================================================================
--- branches/1.2/apps/app_meetme.c (original)
+++ branches/1.2/apps/app_meetme.c Tue Mar 21 09:53:27 2006
@@ -901,7 +901,9 @@
 		snprintf(user->namerecloc, sizeof(user->namerecloc),
 			 "%s/meetme/meetme-username-%s-%d", ast_config_AST_SPOOL_DIR,
 			 conf->confno, user->user_no);
-		ast_record_review(chan, "vm-rec-name", user->namerecloc, 10, "sln", &duration, NULL);
+		res = ast_record_review(chan, "vm-rec-name", user->namerecloc, 10, "sln", &duration, NULL);
+		if (res == -1)
+			goto outrun;
 	}
 
 	if (!(confflags & CONFFLAG_QUIET)) {



More information about the asterisk-commits mailing list