mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-04 14:38:35 +00:00
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;
|
switch_event_t *dup;
|
||||||
|
|
||||||
if (switch_event_dup(&dup, event) == SWITCH_STATUS_SUCCESS) {
|
if (switch_event_dup(&dup, event) == SWITCH_STATUS_SUCCESS) {
|
||||||
|
switch_channel_event_set_data(channel, dup);
|
||||||
switch_event_fire(&dup);
|
switch_event_fire(&dup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user