提交 28ba7f80 authored 作者: Anthony Minessale's avatar Anthony Minessale

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9524 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1fb8be8d
...@@ -1576,8 +1576,6 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro ...@@ -1576,8 +1576,6 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro
timeout = profile->digit_timeout; timeout = profile->digit_timeout;
attempts = profile->max_login_attempts; attempts = profile->max_login_attempts;
args.buf = &global_buf;
args.buflen = sizeof(global_buf);
status = switch_ivr_phrase_macro(session, VM_HELLO_MACRO, NULL, NULL, &args); status = switch_ivr_phrase_macro(session, VM_HELLO_MACRO, NULL, NULL, &args);
*global_buf = '\0'; *global_buf = '\0';
......
...@@ -1234,7 +1234,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess ...@@ -1234,7 +1234,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
end: end:
switch_safe_free(abuf); switch_safe_free(abuf);
switch_core_session_reset(session, SWITCH_TRUE); switch_core_session_reset(session, SWITCH_FALSE);
return status; return status;
} }
...@@ -1881,7 +1881,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text(switch_core_session_t *ses ...@@ -1881,7 +1881,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text(switch_core_session_t *ses
timer_name = switch_channel_get_variable(channel, "timer_name"); timer_name = switch_channel_get_variable(channel, "timer_name");
switch_core_session_reset(session, SWITCH_TRUE); switch_core_session_reset(session, SWITCH_FALSE);
read_codec = switch_core_session_get_read_codec(session); read_codec = switch_core_session_get_read_codec(session);
rate = read_codec->implementation->actual_samples_per_second; rate = read_codec->implementation->actual_samples_per_second;
...@@ -1964,7 +1964,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text(switch_core_session_t *ses ...@@ -1964,7 +1964,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text(switch_core_session_t *ses
} }
} }
switch_core_session_reset(session, SWITCH_TRUE); switch_core_session_reset(session, SWITCH_FALSE);
return status; return status;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论