--- app_voicemail.c.org 2008-04-27 14:35:58.000000000 -0700 +++ app_voicemail.c 2008-04-27 14:38:24.000000000 -0700 @@ -7091,6 +7091,10 @@ args.argv0 = ast_strdupa(tmp); } + if (option_debug > 2) { + ast_log(LOG_DEBUG, "VM-Recording Gain is: %s \n", opts[OPT_ARG_RECORDGAIN]); + } + res = leave_voicemail(chan, args.argv0, &leave_options); if (res == ERROR_LOCK_PATH) {