summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-07-09 19:56:41 +0000
committerRussell Bryant <russell@russellbryant.com>2010-07-09 19:56:41 +0000
commitc5476ecb699a245eb795a47bf37ff4d96c5d0850 (patch)
tree7b203ad96ffe6d836d1789ca491bea90ee43d2df /apps
parente46325f18c7a2d135422eb8d05bfad8e4e19ec1a (diff)
Fix compile error.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 882cfa4df..6e2cc2a45 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"),