tweak ivr

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1589 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-06-09 19:54:53 +00:00
parent d607494ac0
commit 1212c95e55
2 changed files with 18 additions and 11 deletions

View File

@@ -534,7 +534,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session
len = samples * 2;
flags = 0;
switch_sleep(200000);
switch_core_speech_feed_tts(sh, text, &flags);
write_frame.rate = sh->rate;
memset(write_frame.data, 0, len);