add channel data to speech events when chosen to fire
This commit is contained in:
parent
22c05ad542
commit
b889b44f1d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue