[asterisk-commits] trunk - r8034 /trunk/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 12 14:04:52 CST 2006


Author: mogorman
Date: Thu Jan 12 14:04:52 2006
New Revision: 8034

URL: http://svn.digium.com/view/asterisk?rev=8034&view=rev
Log:
I will never touch VM again...
thanks qwell for spotting mistakes.

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?rev=8034&r1=8033&r2=8034&view=diff
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Thu Jan 12 14:04:52 2006
@@ -340,7 +340,8 @@
 "    g(#) - Use the specified amount of gain when recording a voicemail\n"
 "           message. The units are whole-number decibels (dB).\n"
 "    s    - Skip checking the passcode for the mailbox.\n"
-"    a(#) - Skip folder prompt and go directly to folder specified, defaults to 1\n";
+"    a(#) - Skip folder prompt and go directly to folder specified.
+"           Defaults to INBOX\n";
 
 static char *synopsis_vm_box_exists =
 "Check to see if Voicemail mailbox exists";
@@ -5064,7 +5065,7 @@
 			}
 			if (ast_test_flag(&flags, OPT_RECORDGAIN)) {
 				int gain;
-				if(opts[OPT_ARG_PLAYFOLDER]) {
+				if(opts[OPT_ARG__RECORDGAIN]) {
 					if (sscanf(opts[OPT_ARG_RECORDGAIN], "%d", &gain) != 1) {
 						ast_log(LOG_WARNING, "Invalid value '%s' provided for record gain option\n", opts[OPT_ARG_RECORDGAIN]);
 						LOCAL_USER_REMOVE(u);



More information about the asterisk-commits mailing list