[asterisk-commits] seanbright: branch 1.6.2 r302833 - /branches/1.6.2/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 19 17:47:27 CST 2011
Author: seanbright
Date: Wed Jan 19 17:47:22 2011
New Revision: 302833
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=302833
Log:
Support greetingsfolder as documented in voicemail.conf.sample.
(closes issue #17870)
Reported by: edhorton
Patches:
__20100816-app_voicemail-greetingsfolder-support.txt uploaded by lmadsen (license 10)
Modified:
branches/1.6.2/apps/app_voicemail.c
Modified: branches/1.6.2/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_voicemail.c?view=diff&rev=302833&r1=302832&r2=302833
==============================================================================
--- branches/1.6.2/apps/app_voicemail.c (original)
+++ branches/1.6.2/apps/app_voicemail.c Wed Jan 19 17:47:22 2011
@@ -10976,6 +10976,9 @@
}
if ((val = ast_variable_retrieve(cfg, "general", "greetingfolder"))) {
ast_copy_string(greetingfolder, val, sizeof(greetingfolder));
+ } else if ((val = ast_variable_retrieve(cfg, "general", "greetingsfolder"))) {
+ /* Also support greetingsfolder as documented in voicemail.conf.sample */
+ ast_copy_string(greetingfolder, val, sizeof(greetingfolder));
} else {
ast_copy_string(greetingfolder, imapfolder, sizeof(greetingfolder));
}
More information about the asterisk-commits
mailing list