mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 05:40:52 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@275307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -169,6 +169,7 @@ Applications
|
|||||||
more information.
|
more information.
|
||||||
* Voicemail now runs the externnotify script when pollmailboxes is activated and
|
* Voicemail now runs the externnotify script when pollmailboxes is activated and
|
||||||
notices a change.
|
notices a change.
|
||||||
|
* Voicemail now includes rdnis within msgXXXX.txt file.
|
||||||
|
|
||||||
Dialplan Functions
|
Dialplan Functions
|
||||||
------------------
|
------------------
|
||||||
|
@@ -5737,6 +5737,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_
|
|||||||
"context=%s\n"
|
"context=%s\n"
|
||||||
"macrocontext=%s\n"
|
"macrocontext=%s\n"
|
||||||
"exten=%s\n"
|
"exten=%s\n"
|
||||||
|
"rdnis=%s\n"
|
||||||
"priority=%d\n"
|
"priority=%d\n"
|
||||||
"callerchan=%s\n"
|
"callerchan=%s\n"
|
||||||
"callerid=%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->context,
|
||||||
chan->macrocontext,
|
chan->macrocontext,
|
||||||
chan->exten,
|
chan->exten,
|
||||||
|
S_OR(chan->cid.cid_rdnis, "unknown"),
|
||||||
chan->priority,
|
chan->priority,
|
||||||
chan->name,
|
chan->name,
|
||||||
ast_callerid_merge(callerid, sizeof(callerid), S_OR(chan->cid.cid_name, NULL), S_OR(chan->cid.cid_num, NULL), "Unknown"),
|
ast_callerid_merge(callerid, sizeof(callerid), S_OR(chan->cid.cid_name, NULL), S_OR(chan->cid.cid_num, NULL), "Unknown"),
|
||||||
|
Reference in New Issue
Block a user