diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-20 02:56:09 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-20 02:56:09 +0000 |
commit | fe643b94e26495a9de33e6f785d4591c1f1b292c (patch) | |
tree | 2e21f1562831153770eaed20469004d975ea770a /apps/app_voicemail.c | |
parent | 90e39fc69d8859d711a80c703dffe07f62b12426 (diff) |
vms doesn't exist on non-IMAP storage builds.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48637 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-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 eb7b1195d..73bcf74b6 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3063,8 +3063,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) |