mod_verto: add user_chat_context variable
This commit is contained in:
parent
f1fb05214e
commit
711b8676d3
|
@ -3869,7 +3869,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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue