summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-03-13 18:55:14 +0000
committerTerry Wilson <twilson@digium.com>2012-03-13 18:55:14 +0000
commit78765216599c759b889f41375e0f91d6907c1997 (patch)
tree693a15c50c180dfb87d3fb290ee4998d3441cc46
parent786f5898d12d30c481b1d178bb80e5801dbf666f (diff)
Fix IMAP storage compilation after opaquification changes
(closes issue ASTERISK-19513) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 8aa8bfde2..3381933db 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -7464,8 +7464,8 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
/* NULL category for IMAP storage */
sendmail(myserveremail, vmtmp, todircount, vmtmp->context, vmtmp->mailbox,
dstvms->curbox,
- S_COR(chan->caller.id.number.valid, chan->caller.id.number.str, NULL),
- S_COR(chan->caller.id.name.valid, chan->caller.id.name.str, NULL),
+ S_COR(ast_channel_caller(chan)->id.number.valid, ast_channel_caller(chan)->id.number.str, NULL),
+ S_COR(ast_channel_caller(chan)->id.name.valid, ast_channel_caller(chan)->id.name.str, NULL),
vmstmp.fn, vmstmp.introfn, fmt, duration, attach_user_voicemail, chan,
NULL, urgent_str);
#else