projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a00b76
)
Merged revisions 13851 via svnmerge from
author
Russell Bryant
<russell@russellbryant.com>
Tue, 21 Mar 2006 15:55:38 +0000
(15:55 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Tue, 21 Mar 2006 15:55:38 +0000
(15:55 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r13851 | russell | 2006-03-21 10:53:27 -0500 (Tue, 21 Mar 2006) | 2 lines
don't add conference participant if the user hangs up while recording their name (issue #6661)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13852
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_meetme.c
patch
|
blob
|
history
diff --git
a/apps/app_meetme.c
b/apps/app_meetme.c
index
30e62dd
..
aeb537c
100644
(file)
--- a/
apps/app_meetme.c
+++ b/
apps/app_meetme.c
@@
-957,7
+957,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 | CONFFLAG_NOONLYPERSON)) ) {