add channel data to speech events when chosen to fire

This commit is contained in:
Anthony Minessale 2011-01-27 10:28:49 -06:00
parent 22c05ad542
commit b889b44f1d
1 changed files with 1 additions and 0 deletions

View File

@ -3129,6 +3129,7 @@ static void *SWITCH_THREAD_FUNC speech_thread(switch_thread_t *thread, void *obj
switch_event_t *dup;
if (switch_event_dup(&dup, event) == SWITCH_STATUS_SUCCESS) {
switch_channel_event_set_data(channel, dup);
switch_event_fire(&dup);
}