Merge e4af12f5aeba50ef349c4ccfd8ed143f06edae3e into 675bd8f27d7ef201673f21c4ae6dd6fef73383b4

This commit is contained in:
Marc Olivier Chouinard 2025-03-10 20:39:23 +00:00 committed by GitHub
commit 1edc659bb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,6 +72,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro_event(switch_core_sessio
chan_lang = lang;
}
if (event) {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "phrases_language", chan_lang);
} else {
switch_channel_set_variable(channel, "phrases_language", chan_lang);
}
switch_event_create(&hint_data, SWITCH_EVENT_REQUEST_PARAMS);
switch_assert(hint_data);