git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9524 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-09-10 21:55:33 +00:00
parent 1fb8be8d88
commit 28ba7f80f3
2 changed files with 4 additions and 6 deletions

View File

@ -1576,8 +1576,6 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro
timeout = profile->digit_timeout;
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);
*global_buf = '\0';

View File

@ -265,7 +265,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s
} else {
odata = expanded;
}
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Handle %s:[%s] (%s:%s)\n", func, odata, chan_lang, module_name);
if (!strcasecmp(func, "play-file")) {
@ -1234,7 +1234,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
end:
switch_safe_free(abuf);
switch_core_session_reset(session, SWITCH_TRUE);
switch_core_session_reset(session, SWITCH_FALSE);
return status;
}
@ -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");
switch_core_session_reset(session, SWITCH_TRUE);
switch_core_session_reset(session, SWITCH_FALSE);
read_codec = switch_core_session_get_read_codec(session);
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
}
}
switch_core_session_reset(session, SWITCH_TRUE);
switch_core_session_reset(session, SWITCH_FALSE);
return status;
}