mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-05 02:02:01 +00:00
FS-5009
This commit is contained in:
parent
80c2465a75
commit
f913670e27
@ -7754,7 +7754,7 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sip && sip->sip_to) {
|
if (sip && sip->sip_to) {
|
||||||
user = switch_core_session_sprintf(session, "%s@%s", sip->sip_to->a_url->url_user, sip->sip_to->a_url->url_host);
|
user = switch_core_session_sprintf(session, "%s@%s", sip->sip_from->a_url->url_user, sip->sip_from->a_url->url_host);
|
||||||
switch_ivr_set_user(session, user);
|
switch_ivr_set_user(session, user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user