mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 12:20:12 +00:00
Play acknowledgement in all cases (bug #1767)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1215,6 +1215,7 @@ static int play_and_prepend(struct ast_channel *chan, char *playfile, char *reco
|
|||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
ast_verbose( VERBOSE_PREFIX_3 "Took too long, cutting it short...\n");
|
ast_verbose( VERBOSE_PREFIX_3 "Took too long, cutting it short...\n");
|
||||||
res = 't';
|
res = 't';
|
||||||
|
outmsg=2;
|
||||||
ast_frfree(f);
|
ast_frfree(f);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -1441,6 +1442,7 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor
|
|||||||
if (maxtime < (end - start)) {
|
if (maxtime < (end - start)) {
|
||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
ast_verbose( VERBOSE_PREFIX_3 "Took too long, cutting it short...\n");
|
ast_verbose( VERBOSE_PREFIX_3 "Took too long, cutting it short...\n");
|
||||||
|
outmsg = 2;
|
||||||
res = 't';
|
res = 't';
|
||||||
ast_frfree(f);
|
ast_frfree(f);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user