From: Seven Du Date: Wed, 24 Apr 2019 06:54:05 +0000 (+0800) Subject: FS-11754 [core] Make sure audio sync works while playing tts X-Git-Tag: v1.10.0~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6c90e531efa720f6762e13ca1e815593300c88;p=thirdparty%2Ffreeswitch.git FS-11754 [core] Make sure audio sync works while playing tts --- diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index e92820f57c..430357b386 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -2748,10 +2748,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session break; } - if (switch_core_session_dequeue_private_event(session, &event) == SWITCH_STATUS_SUCCESS) { - switch_ivr_parse_event(session, event); - switch_event_destroy(&event); - } + switch_ivr_parse_all_events(session); if (args) { /* dtmf handler function you can hook up to be executed when a digit is dialed during playback