This commit is contained in:
wmasilva 2025-01-21 00:17:21 +00:00 committed by GitHub
commit eecc9f0baa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -3871,7 +3871,9 @@ static switch_bool_t verto__info_func(const char *method, cJSON *params, jsock_t
switch_mutex_lock(jsock->flag_mutex);
if (!(context = switch_event_get_header(jsock->vars, "user_context"))) {
if (!(context = switch_event_get_header(jsock->vars, "user_chat_context"))
&& !(context = switch_event_get_header(jsock->vars, "user_context"))) {
context = switch_either(jsock->context, jsock->profile->context);
}