Merge pull request #89 from lazedo/sofia-auth-query

[mod_sofia] add existing variables when locating user
This commit is contained in:
Andrey Volk 2019-10-31 20:33:55 +04:00 committed by GitHub
commit 5705290f8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);