diff options
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 44b1e2c5c..b3dcfca4c 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -2150,9 +2150,12 @@ static int conf_exec(struct ast_channel *chan, void *data) break; } else { /* Pin invalid */ - res = ast_streamfile(chan, "conf-invalidpin", chan->language); - if (!res) - ast_waitstream(chan, AST_DIGIT_ANY); + if (!ast_streamfile(chan, "conf-invalidpin", chan->language)) + res = ast_waitstream(chan, AST_DIGIT_ANY); + else { + ast_log(LOG_WARNING, "Couldn't play invalid pin msg!\n"); + break; + } if (res < 0) { AST_LIST_LOCK(&confs); cnf->refcount--; |