From f913670e279b98953607b304119e735279c8b4cb Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 10 Jan 2013 12:44:35 -0600 Subject: [PATCH] FS-5009 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 6029da396d..68b9a38e38 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -7754,7 +7754,7 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia } 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); }