diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-02 00:03:49 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-02 00:03:49 +0000 |
commit | cc522fb1a9abc45539a8a4aac00ed889f7f0af1b (patch) | |
tree | 81ccc9673be6a61cc9e2e4d0848bc7ba77684125 /apps | |
parent | 85c4852c072c804c8d9ba7081a1690e0e0e9e747 (diff) |
Play acknowledgement in all cases (bug #1767)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3127 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index f9f20fc06..fd47cac8c 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1215,6 +1215,7 @@ static int play_and_prepend(struct ast_channel *chan, char *playfile, char *reco if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "Took too long, cutting it short...\n"); res = 't'; + outmsg=2; ast_frfree(f); break; } @@ -1441,6 +1442,7 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor if (maxtime < (end - start)) { if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "Took too long, cutting it short...\n"); + outmsg = 2; res = 't'; ast_frfree(f); break; |