aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-09 19:56:41 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-09 19:56:41 +0000
commite3b0b4d52640529e08b7747664d2445dc4fb159c (patch)
tree7b203ad96ffe6d836d1789ca491bea90ee43d2df /apps
parent37a3a2b16cba989470023c18bf4bdd05adf6936d (diff)
Fix compile error.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275309 f38db490-d61c-443f-a65b-d21fe96a405b
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"),