diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-14 21:03:02 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-14 21:03:02 +0000 |
commit | 28c83a471288417041c7b144c9106fa5bc58a8bd (patch) | |
tree | 0a1b287d2e96e385fb4d73dd916b5108af7b32e4 /apps | |
parent | d9ba0d552e1022af1435fb83cc15cf445a7d4b16 (diff) |
Fix build for non-IMAP builds
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103690 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 3d78ef407..dd9fb4d7e 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3172,7 +3172,11 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_ } /* Notification and disposal needs to happen after the copy, though. */ if (ast_fileexists(fn, NULL, NULL)) { +#ifdef IMAP_STORAGE notify_new_message(chan, vmu, vms, msgnum, duration, fmt, S_OR(chan->cid.cid_num, NULL), S_OR(chan->cid.cid_name, NULL)); +#else + notify_new_message(chan, vmu, NULL, msgnum, duration, fmt, S_OR(chan->cid.cid_num, NULL), S_OR(chan->cid.cid_name, NULL)); +#endif DISPOSE(dir, msgnum); } } |