diff options
author | Olle Johansson <oej@edvina.net> | 2007-12-10 13:29:57 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2007-12-10 13:29:57 +0000 |
commit | e2a8a6f46a32bf86abed8c5d851bc1cb34165a05 (patch) | |
tree | 8761c99a24954dd34e39dfc8cd6f5e17aac80908 /apps/app_voicemail.c | |
parent | 19d616d4dc4be2d5113e6c31cccb33b97ec3f977 (diff) |
Add a few extra headers in the voicemail users listing in
manager 1.1. Update documentation too.
(closes issue #11495)
Reported by: caio1982
Patches:
extra_vm_manager_info1.diff uploaded by caio1982 (license 22)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 259c55e91..be062d964 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -7960,8 +7960,14 @@ static int manager_list_voicemail_users(struct mansession *s, const struct messa "UniqueID: %s\r\n" "ExitContext: %s\r\n" "SayDurationMinimum: %d\r\n" + "SayEnvelope: %s\r\n" + "SayCID: %s\r\n" + "AttachMessage: %s\r\n" "AttachmentFormat: %s\r\n" + "DeleteMessage: %s\r\n" "VolumeGain: %.2f\r\n" + "CanReview: %s\r\n" + "CallOperator: %s\r\n" "MaxMessageCount: %d\r\n" "MaxMessageLength: %d\r\n" "NewMessageCount: %d\r\n" @@ -7970,11 +7976,31 @@ static int manager_list_voicemail_users(struct mansession *s, const struct messa "IMAPUser: %s\r\n" #endif "\r\n", - actionid, vmu->context, vmu->mailbox, vmu->fullname, vmu->email, - vmu->pager, vmu->serveremail, vmu->mailcmd, vmu->language, - vmu->zonetag, vmu->callback, vmu->dialout, vmu->uniqueid, - vmu->exit, vmu->saydurationm, vmu->attachfmt, vmu->volgain, - vmu->maxmsg, vmu->maxsecs, + actionid, + vmu->context, + vmu->mailbox, + vmu->fullname, + vmu->email, + vmu->pager, + vmu->serveremail, + vmu->mailcmd, + vmu->language, + vmu->zonetag, + vmu->callback, + vmu->dialout, + vmu->uniqueid, + vmu->exit, + vmu->saydurationm, + ast_test_flag(vmu, VM_ENVELOPE) ? "Yes" : "No", + ast_test_flag(vmu, VM_SAYCID) ? "Yes" : "No", + ast_test_flag(vmu, VM_ATTACH) ? "Yes" : "No", + vmu->attachfmt, + ast_test_flag(vmu, VM_DELETE) ? "Yes" : "No", + vmu->volgain, + ast_test_flag(vmu, VM_REVIEW) ? "Yes" : "No", + ast_test_flag(vmu, VM_OPERATOR) ? "Yes" : "No", + vmu->maxmsg, + vmu->maxsecs, #ifdef IMAP_STORAGE new, old, vmu->imapuser #else |