[Asterisk-code-review] app voicemail/IMAP: function 'save to folder' creates wrong ... (asterisk[master])
Joshua Colp
asteriskteam at digium.com
Fri Apr 15 14:37:30 CDT 2016
Joshua Colp has submitted this change and it was merged.
Change subject: app_voicemail/IMAP: function 'save_to_folder' creates wrong folder
......................................................................
app_voicemail/IMAP: function 'save_to_folder' creates wrong folder
If try to move message to Cust1 (number 5)
the function 'save_to_folder' tries to create Greeting folder instead of Cust1.
This patch fixed it by setting GREETINGS_FOLDER = -1
ASTERISK-24927 #close
Change-Id: I03d1a761894bcc2d130ec9b003bbcddc28e25c51
---
M apps/app_voicemail.c
1 file changed, 6 insertions(+), 6 deletions(-)
Approvals:
Joshua Colp: Looks good to me, approved; Verified
George Joseph: Looks good to me, but someone else must approve
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index aa8da5f..9e646a5 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -622,12 +622,12 @@
#define OPERATOR_EXIT 300
enum vm_box {
- NEW_FOLDER,
- OLD_FOLDER,
- WORK_FOLDER,
- FAMILY_FOLDER,
- FRIENDS_FOLDER,
- GREETINGS_FOLDER
+ NEW_FOLDER = 0,
+ OLD_FOLDER = 1,
+ WORK_FOLDER = 2,
+ FAMILY_FOLDER = 3,
+ FRIENDS_FOLDER = 4,
+ GREETINGS_FOLDER = -1
};
enum vm_option_flags {
--
To view, visit https://gerrit.asterisk.org/2571
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I03d1a761894bcc2d130ec9b003bbcddc28e25c51
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
More information about the asterisk-code-review
mailing list