[Asterisk-code-review] app voicemail/IMAP: function 'save to folder' creates wrong ... (asterisk[master])
Mark Michelson
asteriskteam at digium.com
Mon Apr 11 16:19:45 CDT 2016
Mark Michelson has uploaded a new change for review.
https://gerrit.asterisk.org/2571
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
Change-Id: I03d1a761894bcc2d130ec9b003bbcddc28e25c51
---
M apps/app_voicemail.c
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/71/2571/1
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: newchange
Gerrit-Change-Id: I03d1a761894bcc2d130ec9b003bbcddc28e25c51
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
More information about the asterisk-code-review
mailing list