[asterisk-commits] twilson: trunk r358908 - /trunk/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 13 13:55:18 CDT 2012


Author: twilson
Date: Tue Mar 13 13:55:14 2012
New Revision: 358908

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=358908
Log:
Fix IMAP storage compilation after opaquification changes

(closes issue ASTERISK-19513)

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=358908&r1=358907&r2=358908
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Mar 13 13:55:14 2012
@@ -7464,8 +7464,8 @@
 				/* 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




More information about the asterisk-commits mailing list