提交 32c97ad2 authored 作者: Anthony Minessale's avatar Anthony Minessale

udpate

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7838 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 b465dbfb
......@@ -1791,7 +1791,7 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, cons
if ((voicemail_greeting_number = switch_channel_get_variable(channel, "voicemail_greeting_number"))) {
int num = atoi(voicemail_greeting_number);
if (num > 0 && num < VM_MAX_GREETINGS) {
if (num > 0 && num <= VM_MAX_GREETINGS) {
greet_path = switch_mprintf("%s%sgreeting_%d.%s", dir_path, SWITCH_PATH_SEPARATOR, num, profile->file_ext);
}
} else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论