From: Anthony Minessale Date: Fri, 7 Mar 2008 23:17:01 +0000 (+0000) Subject: udpate X-Git-Tag: v1.0-rc1~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70470daa4acd9934b763117751fd57eb3e13d87;p=thirdparty%2Ffreeswitch.git udpate git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7836 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index ac7d5410ba..3b1cb71c35 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1472,7 +1472,7 @@ case VM_CHECK_CONFIG: TRY_CODE(vm_macro_get(session, VM_CHOOSE_GREETING_MACRO, key_buf, input, sizeof(input), 1, "", &term, timeout)); num = atoi(input); - if (num < 1 || num > 3) { + if (num < 1 || num > 9) { TRY_CODE(switch_ivr_phrase_macro(session, VM_CHOOSE_GREETING_FAIL_MACRO, NULL, NULL, NULL)); } else { file_path = switch_mprintf("%s%sgreeting_%d.%s", dir_path, SWITCH_PATH_SEPARATOR, num, profile->file_ext);