From: Russell Bryant Date: Fri, 9 Jul 2010 19:56:41 +0000 (+0000) Subject: Fix compile error. X-Git-Tag: 11.0.0-beta1~2698 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5476ecb699a245eb795a47bf37ff4d96c5d0850;p=thirdparty%2Fasterisk.git Fix compile error. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275309 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 882cfa4df1..6e2cc2a458 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5748,7 +5748,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_ chan->context, chan->macrocontext, chan->exten, - S_OR(chan->cid.cid_rdnis, "unknown"), + S_OR(chan->redirecting.from.number, "unknown"), chan->priority, chan->name, ast_callerid_merge(callerid, sizeof(callerid), S_OR(chan->cid.cid_name, NULL), S_OR(chan->cid.cid_num, NULL), "Unknown"),