From c5476ecb699a245eb795a47bf37ff4d96c5d0850 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 9 Jul 2010 19:56:41 +0000 Subject: [PATCH] Fix compile error. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275309 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.47.2