[mod_sofia] add existing variables when locating user

This commit is contained in:
lazedo 2019-10-31 12:20:33 +00:00
parent c76a8c5458
commit f77484b96d
1 changed files with 1 additions and 0 deletions

View File

@ -10131,6 +10131,7 @@ switch_status_t sofia_locate_user(char* user, switch_core_session_t *session, si
for (un = sip->sip_unknown; un; un = un->un_next) {
switch_event_add_header_string(v_event, SWITCH_STACK_BOTTOM, un->un_name, un->un_value);
};
switch_channel_event_set_data(switch_core_session_get_channel(session), v_event);
}
result = switch_xml_locate_user_merged("id", username, domain, NULL, x_user, v_event);