diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-20 02:58:13 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-20 02:58:13 +0000 |
commit | 6b788c5c2fa728b720cadd652f943f9d73f51d5c (patch) | |
tree | ebfe35ec1db779b6e0c990d7125d35b3c886cd46 /apps | |
parent | 04f03447b770d88bdf6c651fe5d9eb1d6d6c29a6 (diff) |
Merged revisions 48637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48637 | file | 2006-12-19 21:56:09 -0500 (Tue, 19 Dec 2006) | 2 lines
vms doesn't exist on non-IMAP storage builds.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48638 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 4eac277c8..61ced5661 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3085,8 +3085,12 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_ category ? category : ""); } else ast_log(LOG_WARNING, "Error opening text file for output\n"); +#ifdef IMAP_STORAGE res = play_record_review(chan, NULL, tmptxtfile, vmmaxmessage, fmt, 1, vmu, &duration, NULL, options->record_gain, vms); - +#else + res = play_record_review(chan, NULL, tmptxtfile, vmmaxmessage, fmt, 1, vmu, &duration, NULL, options->record_gain, NULL); +#endif + if (txt) { if (duration < vmminmessage) { if (option_verbose > 2) |