diff options
author | pabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-09 19:32:47 +0000 |
---|---|---|
committer | pabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-09 19:32:47 +0000 |
commit | 55883ed37f6c2d1bc3832f4b7d40eb5092a098cd (patch) | |
tree | 6edc5d77508049fcbab7ae6bab1b7a68fb48733a /apps | |
parent | d9f8bc811a298909989641e5bfa55a645120d35f (diff) |
Include rdnis in msgXXXX.txt file.
(closes issue #17566)
Reported by: outcast
Patches:
voicemail-rdnis.patch uploaded by outcast (license 1071)
Tested by: outcast
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275307 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 18867028b..882cfa4df 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5737,6 +5737,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_ "context=%s\n" "macrocontext=%s\n" "exten=%s\n" + "rdnis=%s\n" "priority=%d\n" "callerchan=%s\n" "callerid=%s\n" @@ -5747,6 +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"), 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"), |