aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-21 15:53:27 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-21 15:53:27 +0000
commitec0ac080e3b1cf80f5daf4d47b66e8e67b0006b6 (patch)
treeca12ea7c113d3deadb4729abe859731644ead342 /apps
parent46e71b068a466b0e97945abf0d695458a492e29b (diff)
don't add conference participant if the user hangs up while recording their name (issue #6661)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@13851 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 37d34d395..c66410339 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -901,7 +901,9 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
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)) {